core/libspnav/PKGBUILD

32 lines
1.0 KiB
Bash
Raw Normal View History

2011-01-04 03:23:28 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=libspnav
pkgver=0.2.2
pkgrel=1
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')
url="http://spacenav.sourceforge.net/"
license=('GPL')
makedepends=('gcc make')
provides=('libspnav')
options=()
install=
source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz Makefile.in.diff)
md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae'
'f9122ad4ca823e45bfa0538187df6270')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 < $startdir/Makefile.in.diff
./configure --prefix=$pkgdir/usr
make || return 1
install -d $pkgdir/usr/lib
install -d $pkgdir/usr/include
make DESTDIR=$pkgdir install || return 1
}