blob: cbdde8e1f5ba835326f8d16a7b59b669c8d35b86 (
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.2.2
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"
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="7c1ee9c2069489b2a25dfde6f8e2ff6a libevdev-1.2.2.tar.xz"
sha256sums="860e9a1d5594393ff1f711cdeaf048efe354992019068408abbcfa4914ad6709 libevdev-1.2.2.tar.xz"
sha512sums="1f0d1eb5a10966eda13d54218e4991aeabeee365866592ab1d05933e3b616d5cf96ce87e444ce78d959122d3953110c6af0dac383b9e1ed2635b7b2f4fd8810f libevdev-1.2.2.tar.xz"
|