From 32295a9faf0f964a313a84bb5a4e3fdeaf15e72f Mon Sep 17 00:00:00 2001 From: Han Boetes Date: Mon, 13 Nov 2006 21:12:21 +0100 Subject: abiword: initial release --- gpm/Pkgfile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 gpm/Pkgfile (limited to 'gpm/Pkgfile') diff --git a/gpm/Pkgfile b/gpm/Pkgfile new file mode 100644 index 000000000..cd00e468a --- /dev/null +++ b/gpm/Pkgfile @@ -0,0 +1,32 @@ +# Packager: Eduardo Lopes +# Maintainer: Han Boetes +# Description: Console mouse server +# URL: none + +name=gpm +version=1.20.1 +release=5 +source=" + ftp://arcana.linux.it/pub/gpm/$name-$version.tar.bz2 + gpm-1.20.0-nodebug.patch + gpm-1.20.1-no-dumb-error-messages.patch + gpm-1.20.1-liblow-segv.patch + $name.initfile +" + +build () +{ + cd $name-$version + # idiots + sed -i 's/^MAKEINFO.*/MAKEINFO = no/;/^EMACS.*/d' Makefile.include.in + # idiots, emacs gpm support is included in emacs. xterm-mouse-mode + sed -i 's/EMACS=.*/EMACS=:/;s/ELISP=.*/ELISP=/' configure + patch -p1 < $SRC/gpm-1.20.0-nodebug.patch + patch -p1 < $SRC/gpm-1.20.1-no-dumb-error-messages.patch + patch -p1 < $SRC/gpm-1.20.1-liblow-segv.patch + ./configure --prefix=/usr + make LDFLAGS='-lm' + make install ROOT=$PKG + rm -rf $PKG/usr/{info,etc} + install -D $SRC/$name.initfile -m 755 $PKG/etc/rc.d/$name +} -- cgit v1.2.3