summaryrefslogtreecommitdiffstats
path: root/extra/gpm/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 22:40:26 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 22:40:26 +0200
commit7a8cf82402e0c4e77b11306e9b14850d676b5f63 (patch)
tree9808de8f40c177ae0a64e715647ff5ab2e225ae0 /extra/gpm/Pkgfile
parent1368403f1d89d9e4960779205a1d06b503fc8e4f (diff)
downloadnutyx-extra-7a8cf82402e0c4e77b11306e9b14850d676b5f63.tar.gz
nutyx-extra-7a8cf82402e0c4e77b11306e9b14850d676b5f63.tar.bz2
nutyx-extra-7a8cf82402e0c4e77b11306e9b14850d676b5f63.tar.xz
nutyx-extra-7a8cf82402e0c4e77b11306e9b14850d676b5f63.zip
Ajout de gpm#1.20.5-1
Diffstat (limited to 'extra/gpm/Pkgfile')
-rwxr-xr-xextra/gpm/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/gpm/Pkgfile b/extra/gpm/Pkgfile
new file mode 100755
index 000000000..2c1123299
--- /dev/null
+++ b/extra/gpm/Pkgfile
@@ -0,0 +1,32 @@
+# 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.5
+release=1
+source=( http://unix.schottelius.org/$name/archives/$name-$version.tar.bz2\
+ gpm-$version-nodebug.patch \
+ gpm-$version-no-dumb-error-messages.patch \
+ gpm-$version-make-install-fixes.patch )
+
+
+build() {
+ cd $name-$version
+ 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-make-install-fixes.patch
+ ./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.1.19.0 $PKG/usr/lib/libgpm.so.1
+# ln -sv libgpm.so.1.19.0 $PKG/usr/lib/libgpm.so
+ cp -v conf/gpm-root.conf $PKG/etc
+}