aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xf86-input-mouse
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-14 17:57:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-15 07:58:51 +0000
commitf50711c43946a13c8d6913ec5a8b513a07955a34 (patch)
tree9aac1f6f0d56015a021a4be2f778a458f8795e33 /x11/xf86-input-mouse
parentcb46572393c3944de66d4f1748db6d7129216939 (diff)
downloadaports-f50711c43946a13c8d6913ec5a8b513a07955a34.tar.bz2
aports-f50711c43946a13c8d6913ec5a8b513a07955a34.tar.xz
x11/xf86-input-{evdev,keyboard,mouse}: build with lazy binding
Diffstat (limited to 'x11/xf86-input-mouse')
-rw-r--r--x11/xf86-input-mouse/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/xf86-input-mouse/APKBUILD b/x11/xf86-input-mouse/APKBUILD
new file mode 100644
index 0000000000..7f592cd6e4
--- /dev/null
+++ b/x11/xf86-input-mouse/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xf86-input-mouse
+pkgver=1.4.0
+pkgrel=0
+pkgdesc="X.org mouse input driver"
+url="http://xorg.freedesktop.org/"
+license="custom"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="uclibc"
+makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
+ g++"
+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="e7dc0759c14a9bfd373917a49e5f7c7d xf86-input-mouse-1.4.0.tar.bz2"