diff options
author | James Meyer <james.meyer@operamail.com> | 2009-07-04 23:05:09 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-07-04 23:05:09 (GMT) |
commit | 879da47e831fa0c5dc443f1059717af8184cb6d8 (patch) | |
tree | 08892860acda11a7594788c8687ec960dac4b68d /abs/extra-testing/joyutils | |
parent | 19e8f207678d02f9a912aa0728b90a4c63d82c82 (diff) | |
parent | 21f912004613ab41436b36b424f943f3c5bfbf83 (diff) | |
download | linhes_pkgbuild-879da47e831fa0c5dc443f1059717af8184cb6d8.zip linhes_pkgbuild-879da47e831fa0c5dc443f1059717af8184cb6d8.tar.gz linhes_pkgbuild-879da47e831fa0c5dc443f1059717af8184cb6d8.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Conflicts:
abs/core-testing/LinHES-config/PKGBUILD
Diffstat (limited to 'abs/extra-testing/joyutils')
-rw-r--r-- | abs/extra-testing/joyutils/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra-testing/joyutils/PKGBUILD b/abs/extra-testing/joyutils/PKGBUILD new file mode 100644 index 0000000..bd24a63 --- /dev/null +++ b/abs/extra-testing/joyutils/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Arkham <arkham at archlinux dot us> +# Contributor: dirty_d <andrew2085 at gmail dot com> + +pkgname=joyutils +pkgver=1.2.15 +pkgrel=2 +pkgdesc="jscal, jstest, and jsattach utilities for the linux joystick driver" +arch=('i686' 'x86_64') +url="http://atrey.karlin.mff.cuni.cz/~vojtech/joystick/" +license=('GPL') +source=(ftp://atrey.karlin.mff.cuni.cz/pub/linux/joystick/joystick-$pkgver.tar.gz) +md5sums=('023500eb6986e1a94aa1a0c30af729c2') + +build() { + # Fix some warnings + cd $srcdir/joystick-$pkgver + sed -i 's:#include <sys/ioctl.h>:#include <stdlib.h>\n#include <sys/ioctl.h>:' jscal.c + + # Compile + gcc -lm -o jscal jscal.c + gcc -o jstest jstest.c + gcc -o jsattach jsattach.c + + # Install + install -Dm 755 jscal $pkgdir/usr/bin/jscal + install -m 755 jstest $pkgdir/usr/bin/ + install -m 755 jsattach $pkgdir/usr/bin/ + install -Dm 644 jscal.1 $pkgdir/usr/share/man/man1/jscal.1 + install -m 644 jstest.1 $pkgdir/usr/share/man/man1/ + install -m 644 jsattach.1 $pkgdir/usr/share/man/man1/ +} |