summaryrefslogtreecommitdiffstats
path: root/gpm/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gpm/Pkgfile')
-rwxr-xr-xgpm/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/gpm/Pkgfile b/gpm/Pkgfile
new file mode 100755
index 000000000..236667e75
--- /dev/null
+++ b/gpm/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Demon pour la souris pour console et X terminal.
+# URL: http://unix.schottelius.org/gpm
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=gpm
+version=1.20.6
+release=1
+source=(http://www.nico.schottelius.org/software/$name/archives/$name-$version.tar.bz2)
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-cxx \
+ --enable-mpbsd
+ LDFLAGS="-lm" make
+ make ROOT=$PKG install
+ ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so.1
+ ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so
+ cp -v conf/gpm-root.conf $PKG/etc
+}