blob: 9c82025e087586fc7996332105c1c16dfbbef9ca (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevdev
pkgver=1.4.3
pkgrel=0
pkgdesc="Kernel Evdev Device Wrapper Library"
url="http://www.freedesktop.org/wiki/Software/libevdev"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev python linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.freedesktop.org/software/libevdev/libevdev-$pkgver.tar.xz"
_builddir="$srcdir"/libevdev-$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"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="2fc170e2d6f543ba26e7c79f95dc1935 libevdev-1.4.3.tar.xz"
sha256sums="1c418b26fd78b0e9900872be2f77fb5311c877b34ec5c75efd1b670ed627969b libevdev-1.4.3.tar.xz"
sha512sums="b5d9446aa47c2abc2c1476f188400f5fcdd2c1f1f5304cd7ce1731dfcd426f892adebe4958f2f65adb832352f203039a1413636c82e51955583d5ede9d2325af libevdev-1.4.3.tar.xz"
|