aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-evdev/APKBUILD
blob: ccb75efd067a406211e12d60cf4b5b7408784172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-evdev
pkgver=2.10.2
pkgrel=0
pkgdesc="X.org evdev input driver"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc $pkgname-dev"
depends=""
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
	eudev-dev mtdev-dev libevdev-dev"
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="452bcc3bcce712b59af363eea94e3392  xf86-input-evdev-2.10.2.tar.bz2"
sha256sums="a73a630d41ab90708d929f357e922bfbdb63d553491c5a30ab3e8fb1e35dfe1d  xf86-input-evdev-2.10.2.tar.bz2"
sha512sums="b6e33cfd5c6a783907f2e84e291e53cbb3d3ae8b60b8ce83d1c9d9ff01a18ab6733663b99db61e36055e77acc5646b2c3bae3ad02e0b4795391737b84660ae5f  xf86-input-evdev-2.10.2.tar.bz2"