wok annotate fcron/receipt @ rev 18760

get-foxit-reader: depends on 'libcups', not 'cups'
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 29 20:38:21 2015 +0200 (2015-12-29)
parents 3b4e4318134e
children 7f188676b59c
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 cd $src
erjo@4192 21 ./configure \
erjo@4192 22 --prefix=/usr \
erjo@4192 23 --sysconfdir=/etc \
erjo@4192 24 --localstatedir=/var \
erjo@4192 25 --without-sendmail \
erjo@4192 26 --with-username=nobody \
erjo@4192 27 --with-groupname=nogroup \
erjo@4192 28 --with-pam=no \
erjo@4192 29 --with-selinux=no \
erjo@4192 30 --with-answer-all=no \
erjo@4192 31 --with-boot-install=no \
erjo@4192 32 --with-editor=/bin/vi \
erjo@4192 33 --with-sysfcrontab=yes \
erjo@4192 34 $CONFIGURE_ARGS &&
pascal@15593 35 make && make -j1 DESTDIR=$DESTDIR install
erjo@4192 36 }
erjo@4192 37
erjo@4192 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4192 39 genpkg_rules()
erjo@4192 40 {
erjo@4192 41 mkdir -p $fs/usr/
pascal@15593 42 cp -a $install/usr/bin $fs/usr
pascal@15593 43 cp -a $install/usr/sbin/fcron $fs/usr/bin
pascal@15593 44 cp -a $install/var $fs/
pascal@15593 45 cp -a $install/etc $fs/
erjo@4192 46
erjo@4192 47 cp -a stuff/fcron $fs/etc/init.d
erjo@4192 48 }