void-packages/srcpkgs/inotify-tools/template

34 lines
831 B
Bash

# Template file for 'inotify-tools'
pkgname=inotify-tools
version=3.20.1
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Provides a simple interface to inotify"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://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"
}
}