diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 22:39:10 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 22:39:10 -0500 |
commit | 6aa71e26f4168980e45e24c390c27356a959bdac (patch) | |
tree | 62c0bff0903250a0204a4d5249e0114ca42f3155 | |
parent | dec305df5bdc776b32903f21cb37f4cfe03be919 (diff) | |
download | packages-6aa71e26f4168980e45e24c390c27356a959bdac.tar.gz packages-6aa71e26f4168980e45e24c390c27356a959bdac.tar.bz2 packages-6aa71e26f4168980e45e24c390c27356a959bdac.tar.xz packages-6aa71e26f4168980e45e24c390c27356a959bdac.zip |
user/mtdev: pull in, take, fix
-rw-r--r-- | user/mtdev/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/user/mtdev/APKBUILD b/user/mtdev/APKBUILD new file mode 100644 index 000000000..81300c4e2 --- /dev/null +++ b/user/mtdev/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=mtdev +pkgver=1.1.5 +pkgrel=3 +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" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +dev() { + default_dev + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +sha512sums="f59f8cda9b81e17253ff2da93a14b6f8e48361aff890dd5d1bb89ca385d713c212f961ed34fc5b866affd83013530a036736faca071ec9a424091979a12c9208 mtdev-1.1.5.tar.gz" |