void-packages/srcpkgs/inotify-tools/template

34 lines
819 B
Bash
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=2
2014-05-20 08:41:18 +00:00
build_style=gnu-configure
short_desc="Provides a simple interface to inotify"
2014-05-20 08:41:18 +00:00
maintainer="Enno Boland <eb@s01.de>"
license="GPLv2"
hostmakedepends="automake libtool"
2014-05-20 08:41:18 +00:00
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="libinotify-tools>=${version}_${revision}"
2014-05-20 08:41:18 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}