34 lines
829 B
Bash
34 lines
829 B
Bash
# Template build file for 'inotify-tools'
|
|
pkgname=inotify-tools
|
|
version=3.14
|
|
revision=2
|
|
build_style=gnu-configure
|
|
short_desc="Provides a simple interface to inotify"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPLv2"
|
|
hostmakedepends="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="libinotify-tools>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|