wok annotate fcron/receipt @ rev 19231

Add vmtouch
author Paul Issott <paul@slitaz.org>
date Fri Jun 24 19:59:40 2016 +0100 (2016-06-24)
parents 9d97bcfbe863
children 10318df32b5c
rev   line source
erjo@4192 1 # SliTaz package receipt.
erjo@4192 2
erjo@4192 3 PACKAGE="fcron"
erjo@4192 4 VERSION="3.0.4"
erjo@4192 5 CATEGORY="network"
erjo@4192 6 SHORT_DESC="Periodical command scheduler"
erjo@4192 7 MAINTAINER="erjo@slitaz.org"
pascal@15593 8 LICENSE="GPL"
erjo@4192 9 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
erjo@4192 10 WEB_SITE="http://fcron.free.fr/"
erjo@4192 11 WGET_URL="http://fcron.free.fr/archives/$TARBALL"
jozee@4936 12 TAGS="cron scheduler"
erjo@4192 13
pascal@15593 14 DEPENDS=""
pascal@15594 15 BUILD_DEPENDS="perl"
pascal@15593 16
erjo@4192 17 # Rules to configure and make the package.
erjo@4192 18 compile_rules()
erjo@4192 19 {
erjo@4192 20 ./configure \
erjo@4192 21 --prefix=/usr \
erjo@4192 22 --sysconfdir=/etc \
erjo@4192 23 --localstatedir=/var \
erjo@4192 24 --without-sendmail \
erjo@4192 25 --with-username=nobody \
erjo@4192 26 --with-groupname=nogroup \
erjo@4192 27 --with-pam=no \
erjo@4192 28 --with-selinux=no \
erjo@4192 29 --with-answer-all=no \
erjo@4192 30 --with-boot-install=no \
erjo@4192 31 --with-editor=/bin/vi \
erjo@4192 32 --with-sysfcrontab=yes \
erjo@4192 33 $CONFIGURE_ARGS &&
pascal@15593 34 make && make -j1 DESTDIR=$DESTDIR install
erjo@4192 35 }
erjo@4192 36
erjo@4192 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4192 38 genpkg_rules()
erjo@4192 39 {
al@19159 40 mkdir -p $fs/usr/ $fs/etc/init.d
al@19159 41
pascal@15593 42 cp -a $install/usr/bin $fs/usr
pascal@15593 43 cp -a $install/usr/sbin/fcron $fs/usr/bin
al@19159 44 cp -a $install/var $fs
al@19159 45 cp -a $install/etc $fs
al@19159 46
erjo@4192 47 cp -a stuff/fcron $fs/etc/init.d
erjo@4192 48 }