aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linuxconsoletools/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-30 10:29:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-30 10:30:27 +0000
commitbbcd8c0265deaff095bcd76e59b09046c80ad4fb (patch)
treee712fa4ace346df348308a01d1a30455111d769e /testing/linuxconsoletools/APKBUILD
parent665cf7860a2e519b50e7b43765cdf5085285f3e2 (diff)
downloadaports-bbcd8c0265deaff095bcd76e59b09046c80ad4fb.tar.bz2
aports-bbcd8c0265deaff095bcd76e59b09046c80ad4fb.tar.xz
testing/linuxconsoletools: new aport
Tools for connecting joysticks & legacy devices to the kernels input subsystem http://sourceforge.net/projects/linuxconsole/ fixes #2532
Diffstat (limited to 'testing/linuxconsoletools/APKBUILD')
-rw-r--r--testing/linuxconsoletools/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/linuxconsoletools/APKBUILD b/testing/linuxconsoletools/APKBUILD
new file mode 100644
index 0000000000..4a91618b4b
--- /dev/null
+++ b/testing/linuxconsoletools/APKBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=linuxconsoletools
+pkgver=1.4.6
+pkgrel=0
+pkgdesc="Tools for connecting joysticks & legacy devices to the kernels input subsystem"
+url="http://sourceforge.net/projects/linuxconsole/"
+arch="all"
+license="GPLv2+"
+depends=""
+depends_dev="sdl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/linuxconsole/linuxconsoletools-$pkgver.tar.bz2
+ sys-time.patch"
+
+_builddir="$srcdir"/linuxconsoletools-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make PREFIX=/usr || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="9115e08e3a2193b62da46d0e02852787 linuxconsoletools-1.4.6.tar.bz2
+e51dda85eea08232d8013781e7756d2d sys-time.patch"
+sha256sums="8ef1419e1a3dc31cd63cab969ef7e9c58060703fe6b755312f3a36b924f46500 linuxconsoletools-1.4.6.tar.bz2
+295925633ceb5e8aa3033b3b4b04276e4cdca6646c1c52bf5cee09ec8f1aa9ce sys-time.patch"
+sha512sums="1597e3debcf45f7648cc0e4e042e08fde8aa2dcde74e1cf073d7450328f52c6b074123da9f6b7094598758d8f9b7db53f9ce952cbf4fae3454755b90ff286f28 linuxconsoletools-1.4.6.tar.bz2
+a96b37a365a5fb067d017b3790f4e09fd733639a5e65f93d44138e89efbcedc87b11a35f39f40623cdac743207349fbb28d4de982d5694a6f9b8981bce29dd68 sys-time.patch"