blob: 627226f67bc07803e8b9a97a756ae3dbd7c0e0cd (
plain) (
blame)
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
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mtdev
pkgver=1.1.5
pkgrel=4
pkgdesc="Multitouch Protocol Translation Library"
url="http://bitmath.org/code/mtdev/"
arch="all"
license="MIT"
depends=""
depends_dev="linux-headers"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="http://bitmath.org/code/mtdev/mtdev-$pkgver.tar.gz
time64.patch
"
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
dev() {
default_dev
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
sha512sums="f59f8cda9b81e17253ff2da93a14b6f8e48361aff890dd5d1bb89ca385d713c212f961ed34fc5b866affd83013530a036736faca071ec9a424091979a12c9208 mtdev-1.1.5.tar.gz
5192a6e02d647cbb9752ace62eadd3ce4bc9320e8429e98539eb261c3dee70b56ff424241eb74b01059a2c4bef62a9f54e0d8326982857be1ca21570d4c1dbeb time64.patch"
|