summaryrefslogtreecommitdiff
path: root/pcr/libspnav/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-22 10:28:18 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-22 10:28:18 +0100
commit89da12a4917a580d24a76582283195a364de5d2c (patch)
tree239bdb76d33dae8ad8ad5406e0db27925862fe5a /pcr/libspnav/PKGBUILD
parent4199888a832fe0d15a95ab2bd60ae5d4957f86c0 (diff)
parent0ab7960ba6a457b7dd3ed5ede0cdb93e816d29a4 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: extra/easytag/PKGBUILD extra/ffmpeg/PKGBUILD extra/openmpi/PKGBUILD extra/potrace/PKGBUILD extra/ptlib/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'pcr/libspnav/PKGBUILD')
-rw-r--r--pcr/libspnav/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/libspnav/PKGBUILD b/pcr/libspnav/PKGBUILD
new file mode 100644
index 000000000..da0272ed7
--- /dev/null
+++ b/pcr/libspnav/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Jan Hambrecht <jaham at gmx dot net>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=libspnav
+pkgver=0.2.2
+pkgrel=3
+pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)."
+arch=('i686' 'x86_64' 'mips64el')
+url="http://spacenav.sourceforge.net/"
+license=('GPL')
+depends=('libx11')
+source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz Makefile.in.diff)
+md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae'
+ 'f9122ad4ca823e45bfa0538187df6270')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p0 < $srcdir/Makefile.in.diff
+ ./configure --prefix=$pkgdir/usr --disable-debug
+ make || return 1
+ install -d $pkgdir/usr/lib
+ install -d $pkgdir/usr/include
+ make DESTDIR=$pkgdir install || return 1
+}