void-packages/srcpkgs/since/template

22 lines
588 B
Bash

# Template file for 'since'
pkgname=since
version=1.1
revision=1
short_desc="Stateful tail"
maintainer="beefcurtains <beefcurtains@users.noreply.github.com>"
license="GPL-3"
homepage="http://welz.org.za/projects/${pkgname}"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=739b7f161f8a045c1dff184e0fc319417c5e2deb3c7339d323d4065f7a3d0f45
do_build() {
# Don't even bother with the makefile
CFLAGS+=" -DUSE_INOTIFY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
${CC} ${pkgname}.c -o ${pkgname} -O2 ${CFLAGS} ${LDFLAGS}
}
do_install() {
vbin ${pkgname}
vman ${pkgname}.1
}