summaryrefslogtreecommitdiff
path: root/gpm/Pkgfile
diff options
context:
space:
mode:
authorHan Boetes <han@mijncomputer.nl>2006-11-13 21:12:21 +0100
committerHan Boetes <han@mijncomputer.nl>2006-11-13 21:12:21 +0100
commit32295a9faf0f964a313a84bb5a4e3fdeaf15e72f (patch)
tree48bd60cc85026b7f5effe956cd01e09d1e66234c /gpm/Pkgfile
parent4d6af94f215944409f18f85d1804bc04c3d32efd (diff)
downloadcontrib-32295a9faf0f964a313a84bb5a4e3fdeaf15e72f.tar.gz
contrib-32295a9faf0f964a313a84bb5a4e3fdeaf15e72f.tar.xz
abiword: initial release
Diffstat (limited to 'gpm/Pkgfile')
-rw-r--r--gpm/Pkgfile32
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
+}

Generated by cgit