blob: c64aa679cfb5e914f1fb1e583076de8c14091673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.19.2-r1.ebuild,v 1.2 2000/08/16 04:38:35 drobbins Exp $
P=gpm-1.19.2
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Console-based mouse driver"
SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/mouse/${A}"
src_compile() {
cd ${S}
./configure --prefix=/usr
cp Makefile Makefile.orig
sed -e "s/doc//" Makefile.orig > Makefile
make
}
src_install() {
into /usr
dolib.a libgpm.a
dolib.so libgpm.so.1.18.0
dosym libgpm.so.1.18.0 /usr/lib/libgpm.so.1
dosym libgpm.so.1.18.0 /usr/lib/libgpm.so
dosbin gpm
dobin disable-paste gpm-root mev
insinto /usr/include
doins gpm.h
dodoc Announce COPYING ChangeLog FAQ MANIFEST README.* doc/gpmdoc.txt
doinfo doc/gpm.info
doman doc/*.1 doc/*.8 doc/*.7
}
|