wok annotate fcron/receipt @ rev 5852
freeradius: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 16 23:05:43 2010 +0200 (2010-07-16) |
parents | aefe609dbcdf |
children | cdfd51490366 |
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" |
jozee@4936 | 12 TAGS="cron scheduler" |
erjo@4192 | 13 |
erjo@4192 | 14 # Rules to configure and make the package. |
erjo@4192 | 15 compile_rules() |
erjo@4192 | 16 { |
erjo@4192 | 17 cd $src |
erjo@4192 | 18 ./configure \ |
erjo@4192 | 19 --prefix=/usr \ |
erjo@4192 | 20 --sysconfdir=/etc \ |
erjo@4192 | 21 --localstatedir=/var \ |
erjo@4192 | 22 --without-sendmail \ |
erjo@4192 | 23 --with-username=nobody \ |
erjo@4192 | 24 --with-groupname=nogroup \ |
erjo@4192 | 25 --with-pam=no \ |
erjo@4192 | 26 --with-selinux=no \ |
erjo@4192 | 27 --with-answer-all=no \ |
erjo@4192 | 28 --with-boot-install=no \ |
erjo@4192 | 29 --with-editor=/bin/vi \ |
erjo@4192 | 30 --with-sysfcrontab=yes \ |
erjo@4192 | 31 $CONFIGURE_ARGS && |
erjo@4192 | 32 make && make DESTDIR=$PWD/_pkg install |
erjo@4192 | 33 } |
erjo@4192 | 34 |
erjo@4192 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4192 | 36 genpkg_rules() |
erjo@4192 | 37 { |
erjo@4192 | 38 mkdir -p $fs/usr/ |
erjo@4192 | 39 cp -a $_pkg/usr/bin $fs/usr |
erjo@4192 | 40 cp -a $_pkg/var $fs/ |
erjo@4192 | 41 cp -a $_pkg/etc $fs/ |
erjo@4192 | 42 cp -a $src/fcron $fs/usr/bin |
erjo@4192 | 43 |
erjo@4192 | 44 cp -a stuff/fcron $fs/etc/init.d |
erjo@4192 | 45 } |
erjo@4192 | 46 |