void-packages/srcpkgs/mtdev/template

27 lines
648 B
Bash

# Template file for 'mtdev'
pkgname=mtdev
version=1.1.7
revision=1
build_style=gnu-configure
short_desc="Multitouch Protocol Translation Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://bitmath.org/code/mtdev/"
distfiles="http://bitmath.org/code/mtdev/mtdev-${version}.tar.bz2"
checksum=a107adad2101fecac54ac7f9f0e0a0dd155d954193da55c2340c97f2ff1d814e
post_install() {
vlicense COPYING
}
mtdev-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}