diff options
author | Han Boetes <han@mijncomputer.nl> | 2006-11-13 21:12:21 +0100 |
---|---|---|
committer | Han Boetes <han@mijncomputer.nl> | 2006-11-13 21:12:21 +0100 |
commit | 32295a9faf0f964a313a84bb5a4e3fdeaf15e72f (patch) | |
tree | 48bd60cc85026b7f5effe956cd01e09d1e66234c /gpm/Pkgfile | |
parent | 4d6af94f215944409f18f85d1804bc04c3d32efd (diff) | |
download | contrib-32295a9faf0f964a313a84bb5a4e3fdeaf15e72f.tar.gz contrib-32295a9faf0f964a313a84bb5a4e3fdeaf15e72f.tar.xz |
abiword: initial release
Diffstat (limited to 'gpm/Pkgfile')
-rw-r--r-- | gpm/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
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 <eduol@gmx.net> +# Maintainer: Han Boetes <han@mijncomputer.nl> +# 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 +} |