summaryrefslogtreecommitdiffstats
path: root/x11/xf86-input-synaptics/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-14 19:10:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-14 19:10:19 +0000
commiteb7bedd371a0cacabd9f1b2c628fafb1d42bdbfc (patch)
tree5ad5ae973853e0f2f04e42ff122d09744d34ae31 /x11/xf86-input-synaptics/APKBUILD
parent0e9bdabd9427e371775102cdbaef36791419c096 (diff)
downloadaports-eb7bedd371a0cacabd9f1b2c628fafb1d42bdbfc.tar.bz2
aports-eb7bedd371a0cacabd9f1b2c628fafb1d42bdbfc.tar.xz
x11/xf86-input-synaptics: new aport
Diffstat (limited to 'x11/xf86-input-synaptics/APKBUILD')
-rw-r--r--x11/xf86-input-synaptics/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/xf86-input-synaptics/APKBUILD b/x11/xf86-input-synaptics/APKBUILD
new file mode 100644
index 000000000..deb2ecac6
--- /dev/null
+++ b/x11/xf86-input-synaptics/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xf86-input-synaptics
+pkgver=1.1.2
+pkgrel=0
+pkgdesc="X.org synaptics input driver"
+url="http://xorg.freedesktop.org/"
+license="custom"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev"
+source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
+
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ ${CC:-gcc} -dumpspecs | sed 's/%(link_now)//g' > "$srcdir"/gcc-specs
+ export GCC_SPECS="$srcdir"/gcc-specs
+
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+md5sums="c8fd6516f9636a3751e401e4b836e160 xf86-input-synaptics-1.1.2.tar.bz2"