vp-build/srcpkgs/inotify-tools/template

34 lines
846 B
Bash

# Template file for 'inotify-tools'
pkgname=inotify-tools
version=3.20.11.0
revision=1
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/inotify-tools/inotify-tools"
distfiles="https://github.com/inotify-tools/inotify-tools/archive/${version}.tar.gz"
checksum=58a3cde89e4a5111a87ac16b56b06a8f885460fca0aea51b69c856ce30a37a14
pre_configure() {
autoreconf -fi
}
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"
}
}