wok annotate fcron/receipt @ rev 15593

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 03 18:28:51 2013 +0000 (2013-12-03)
parents 9f9e7949bcea
children 9d97bcfbe863
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@15593 15
erjo@4192 16 # Rules to configure and make the package.
erjo@4192 17 compile_rules()
erjo@4192 18 {
erjo@4192 19 cd $src
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 {
erjo@4192 40 mkdir -p $fs/usr/
pascal@15593 41 cp -a $install/usr/bin $fs/usr
pascal@15593 42 cp -a $install/usr/sbin/fcron $fs/usr/bin
pascal@15593 43 cp -a $install/var $fs/
pascal@15593 44 cp -a $install/etc $fs/
erjo@4192 45
erjo@4192 46 cp -a stuff/fcron $fs/etc/init.d
erjo@4192 47 }