aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/mtdev/template
blob: 5d5eeebdc18fc178400b1ad1e4aa3d20b720d07d (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
# Template build file for 'mtdev'.
pkgname=mtdev
version=1.1.6
revision=1
build_style=gnu-configure
short_desc="Multitouch Protocol Translation Library"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://bitmath.org/code/mtdev/"
license="MIT"
distfiles="http://bitmath.org/code/mtdev/mtdev-${version}.tar.bz2"
checksum=15d7b28da8ac71d8bc8c9287c2045fd174267bc740bec10cfda332dc1204e0e0

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
	}
}