2008-01-02 17:04:33 +11:00
|
|
|
# Description: Console mouse server.
|
|
|
|
# URL: http://unix.schottelius.org/gpm/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-01-02 17:04:33 +11:00
|
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
|
|
|
|
|
|
name=gpm
|
|
|
|
version=1.20.1
|
|
|
|
release=1
|
|
|
|
source=(http://unix.schottelius.org/gpm/archives/gpm-$version.tar.bz2 \
|
|
|
|
gpm-$version-nodebug.patch \
|
|
|
|
gpm-$version-no-dumb-error-messages.patch \
|
|
|
|
gpm-$version-liblow-segv.patch \
|
|
|
|
gpm.rc)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd gpm-$version
|
|
|
|
|
|
|
|
sed -i \
|
|
|
|
-e 's/^MAKEINFO.*/MAKEINFO = no/' \
|
|
|
|
-e '/^EMACS.*/d' Makefile.include.in
|
|
|
|
|
|
|
|
# emacs gpm support is included in emacs. xterm-mouse-mode
|
|
|
|
sed -i \
|
|
|
|
-e 's/EMACS=.*/EMACS=:/' \
|
|
|
|
-e 's/ELISP=.*/ELISP=/' configure
|
|
|
|
|
2008-04-22 11:47:37 +10:00
|
|
|
patch -p 1 -i ../gpm-$version-nodebug.patch
|
|
|
|
patch -p 1 -i ../gpm-$version-no-dumb-error-messages.patch
|
|
|
|
patch -p 1 -i ../gpm-$version-liblow-segv.patch
|
2008-01-02 17:04:33 +11:00
|
|
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
2008-04-22 11:47:37 +10:00
|
|
|
make -j 1 LDFLAGS='-lm'
|
2008-01-02 17:04:33 +11:00
|
|
|
make ROOT=$PKG install
|
|
|
|
|
2008-04-22 11:47:37 +10:00
|
|
|
install -D -m 0755 ../gpm.rc $PKG/etc/rc.d/gpm
|
2008-01-02 17:04:33 +11:00
|
|
|
chmod 0755 $PKG/usr/lib/libgpm.so.*.*.*
|
|
|
|
rm -r $PKG/usr/etc
|
2008-02-27 09:06:09 +11:00
|
|
|
rm -r $PKG/usr/info
|
2008-01-02 17:04:33 +11:00
|
|
|
}
|
|
|
|
|