2014-12-13 22:11:03 +01:00
|
|
|
# Template file for 'scron'
|
|
|
|
pkgname=scron
|
2015-02-17 15:06:10 +01:00
|
|
|
version=0.4
|
2015-02-17 16:18:07 +01:00
|
|
|
revision=1
|
2014-12-13 22:11:03 +01:00
|
|
|
build_style=gnu-makefile
|
|
|
|
short_desc="Simple cron daemon"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://git.2f30.org/scron/"
|
2014-12-13 22:37:21 +01:00
|
|
|
distfiles="http://dl.2f30.org/releases/${pkgname}-${version}.tar.gz"
|
2015-02-17 15:06:10 +01:00
|
|
|
checksum=4ae8225a3991e42e29791d981192c9daf5b9b02609f68775768fe1598ae2ce18
|
2014-12-13 22:11:03 +01:00
|
|
|
replaces="cron-daemon>=0"
|
|
|
|
provides="cron-daemon-0_1"
|
2014-12-14 09:56:50 +01:00
|
|
|
conf_files="/etc/crontab"
|
2014-12-13 22:11:03 +01:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
# STFU gcc
|
|
|
|
sed -i 's|BSD_SOURCE|DEFAULT_SOURCE|g' Makefile
|
2014-12-14 12:18:40 +01: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 22:11:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin crond
|
|
|
|
vconf ${FILESDIR}/crontab
|
|
|
|
vsv scron
|
|
|
|
vlicense LICENSE
|
|
|
|
vdoc README
|
2015-02-17 15:06:10 +01:00
|
|
|
vman scron.1
|
2014-12-13 22:11:03 +01:00
|
|
|
}
|