void-packages/srcpkgs/inotify-tools/template

34 lines
830 B
Bash

# Template build file for 'inotify-tools'
pkgname=inotify-tools
version=3.20.1
revision=1
build_style=gnu-configure
short_desc="Provides a simple interface to inotify"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
hostmakedepends="automake libtool"
homepage="http://wiki.github.com/rvoicilas/inotify-tools/"
distfiles="https://github.com/rvoicilas/${pkgname}/archive/${version}.tar.gz"
checksum=a433cc1dedba851078276db69b0e97f9fe41e4ba3336d2971adfca4b3a6242ac
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}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}