wok annotate fcron/receipt @ rev 4377

alpine: link shared libs (again)
author Paul Issott <paul@slitaz.org>
date Mon Oct 12 21:05:53 2009 +0000 (2009-10-12)
parents
children fb8aceda65ff
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"
erjo@4192 8 DEPENDS=""
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"
erjo@4192 12
erjo@4192 13 # Rules to configure and make the package.
erjo@4192 14 compile_rules()
erjo@4192 15 {
erjo@4192 16 cd $src
erjo@4192 17 ./configure \
erjo@4192 18 --prefix=/usr \
erjo@4192 19 --sysconfdir=/etc \
erjo@4192 20 --localstatedir=/var \
erjo@4192 21 --without-sendmail \
erjo@4192 22 --with-username=nobody \
erjo@4192 23 --with-groupname=nogroup \
erjo@4192 24 --with-pam=no \
erjo@4192 25 --with-selinux=no \
erjo@4192 26 --with-answer-all=no \
erjo@4192 27 --with-boot-install=no \
erjo@4192 28 --with-editor=/bin/vi \
erjo@4192 29 --with-sysfcrontab=yes \
erjo@4192 30 $CONFIGURE_ARGS &&
erjo@4192 31 make && make DESTDIR=$PWD/_pkg install
erjo@4192 32 }
erjo@4192 33
erjo@4192 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4192 35 genpkg_rules()
erjo@4192 36 {
erjo@4192 37 mkdir -p $fs/usr/
erjo@4192 38 cp -a $_pkg/usr/bin $fs/usr
erjo@4192 39 cp -a $_pkg/var $fs/
erjo@4192 40 cp -a $_pkg/etc $fs/
erjo@4192 41 cp -a $src/fcron $fs/usr/bin
erjo@4192 42
erjo@4192 43 cp -a stuff/fcron $fs/etc/init.d
erjo@4192 44 }
erjo@4192 45