37 lines
853 B
Plaintext
37 lines
853 B
Plaintext
# Description: Console mouse server.
|
|
# URL: http://unix.schottelius.org/gpm/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
|
|
name=gpm
|
|
version=1.20.6
|
|
release=1
|
|
source=(https://nico.schottelius.org/software/gpm/archives/gpm-$version.tar.bz2
|
|
gpm-1.20.5-nodebug.patch
|
|
gpm-1.20.5-no-dumb-error-messages.patch
|
|
gpm-1.20.5-make-install-fixes.patch
|
|
gpm.rc)
|
|
|
|
build() {
|
|
cd gpm-$version
|
|
|
|
patch -p 1 -i $SRC/gpm-1.20.5-nodebug.patch
|
|
patch -p 1 -i $SRC/gpm-1.20.5-no-dumb-error-messages.patch
|
|
patch -p 1 -i $SRC/gpm-1.20.5-make-install-fixes.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man
|
|
|
|
make
|
|
make ROOT=$PKG install
|
|
|
|
ln -s libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so
|
|
install -m 0755 -D $SRC/gpm.rc $PKG/etc/rc.d/gpm
|
|
|
|
rm -r $PKG/usr/share/info
|
|
rmdir $PKG/usr/etc
|
|
rmdir $PKG/usr/share
|
|
}
|
|
|