void-packages/srcpkgs/since/template

21 lines
636 B
Bash

# Template file for 'since'
pkgname=since
version=1.1
revision=2
short_desc="Stateful tail"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://web.archive.org/web/20161220221905/http://welz.org.za/projects/since"
distfiles="${DEBIAN_SITE}/main/s/since/${pkgname}_${version}.orig.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
}