void-packages/srcpkgs/scron/template

31 lines
731 B
Text
Raw Normal View History

2014-12-13 21:11:03 +00:00
# Template file for 'scron'
pkgname=scron
version=0.3.2
2014-12-14 11:18:40 +00:00
revision=4
2014-12-13 21:11:03 +00:00
build_style=gnu-makefile
short_desc="Simple cron daemon"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://git.2f30.org/scron/"
2014-12-13 21:37:21 +00:00
distfiles="http://dl.2f30.org/releases/${pkgname}-${version}.tar.gz"
2014-12-13 21:11:03 +00:00
checksum=10ffdbd3625204a6f73a096125bfdbbda849a394028f25befdf2ac65ed22d111
replaces="cron-daemon>=0"
provides="cron-daemon-0_1"
conf_files="/etc/crontab"
2014-12-13 21:11:03 +00:00
pre_build() {
# STFU gcc
sed -i 's|BSD_SOURCE|DEFAULT_SOURCE|g' Makefile
2014-12-14 11:18:40 +00:00
sed -i 's|^CC|#CC|g' Makefile
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
sed -i 's|^LDFLAGS|#LDFLAGS|g' Makefile
2014-12-13 21:11:03 +00:00
}
do_install() {
vbin crond
vconf ${FILESDIR}/crontab
vsv scron
vlicense LICENSE
vdoc README
}