void-packages/srcpkgs/inotify-tools/template

35 lines
884 B
Plaintext
Raw Normal View History

2014-05-20 08:41:18 +00:00
# Template build file for 'inotify-tools'
pkgname=inotify-tools
version=3.14
revision=1
build_style=gnu-configure
short_desc="provides a simple interface to inotify"
maintainer="Enno Boland <eb@s01.de>"
license="GPLv2"
hostmakedepends="autoconf automake libtool"
homepage="http://wiki.github.com/rvoicilas/inotify-tools/"
distfiles="https://github.com/rvoicilas/${pkgname}/archive/v${version}.tar.gz"
checksum=97a4fdf9132da47c2baa677c1a427c435ee55a26df42b2b74a41489b9fbd2323
pre_configure() {
autoreconf -i
}
libinotify-tools_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
inotify-tools-devel_package() {
depends="inotify-tools>=${version}_${revision} libinotify-tools>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}