void-packages/srcpkgs/mtdev/template

27 lines
655 B
Bash

# Template build file for 'mtdev'.
pkgname=mtdev
version=1.1.5
revision=2
build_style=gnu-configure
short_desc="Multitouch Protocol Translation Library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://bitmath.org/code/mtdev/"
license="MIT"
distfiles="http://bitmath.org/code/mtdev/mtdev-${version}.tar.bz2"
checksum=6677d5708a7948840de734d8b4675d5980d4561171c5a8e89e54adf7a13eba7f
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
}
}