wok-6.x annotate fcron/receipt @ rev 14853
x11vnc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 18 10:50:13 2013 +0000 (2013-07-18) |
parents | cdfd51490366 |
children | 3b4e4318134e |
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 && |
slaxemulator@8374 | 32 make && make -j1 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/ |
slaxemulator@8374 | 39 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@8374 | 40 cp -a $_pkg/usr/sbin/fcron $fs/usr/bin |
erjo@4192 | 41 cp -a $_pkg/var $fs/ |
erjo@4192 | 42 cp -a $_pkg/etc $fs/ |
erjo@4192 | 43 |
erjo@4192 | 44 cp -a stuff/fcron $fs/etc/init.d |
erjo@4192 | 45 } |
erjo@4192 | 46 |