wok-current annotate fcron/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | 7f188676b59c |
children | d8c511e24c20 |
rev | line source |
---|---|
erjo@4192 | 1 # SliTaz package receipt. |
erjo@4192 | 2 |
erjo@4192 | 3 PACKAGE="fcron" |
Hans-G?nter@22717 | 4 VERSION="3.2.1" |
erjo@4192 | 5 CATEGORY="network" |
Hans-G?nter@22717 | 6 TAGS="cron scheduler" |
Hans-G?nter@22717 | 7 SHORT_DESC="Periodical command scheduler." |
erjo@4192 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15593 | 9 LICENSE="GPL" |
Hans-G?nter@22717 | 10 WEB_SITE="http://fcron.free.fr/" |
Hans-G?nter@22717 | 11 |
erjo@4192 | 12 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
erjo@4192 | 13 WGET_URL="http://fcron.free.fr/archives/$TARBALL" |
erjo@4192 | 14 |
pascal@15593 | 15 DEPENDS="" |
Hans-G?nter@22717 | 16 BUILD_DEPENDS="perl readline-dev" |
pascal@15593 | 17 |
erjo@4192 | 18 # Rules to configure and make the package. |
erjo@4192 | 19 compile_rules() |
erjo@4192 | 20 { |
Hans-G?nter@22717 | 21 ./configure \ |
Hans-G?nter@22717 | 22 --prefix=/usr \ |
Hans-G?nter@22717 | 23 --sysconfdir=/etc \ |
Hans-G?nter@22717 | 24 --localstatedir=/var \ |
Hans-G?nter@22717 | 25 --without-sendmail \ |
Hans-G?nter@22717 | 26 --with-username=nobody \ |
Hans-G?nter@22717 | 27 --with-groupname=nogroup \ |
Hans-G?nter@22717 | 28 --with-pam=no \ |
Hans-G?nter@22717 | 29 --with-selinux=no \ |
Hans-G?nter@22717 | 30 --with-answer-all=no \ |
Hans-G?nter@22717 | 31 --with-boot-install=no \ |
Hans-G?nter@22717 | 32 --with-editor=/bin/vi \ |
Hans-G?nter@22717 | 33 --with-sysfcrontab=yes \ |
Hans-G?nter@22717 | 34 --with-systemdsystemunitdir=none \ |
erjo@4192 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@22717 | 36 make && |
Hans-G?nter@22717 | 37 make DESTDIR=$DESTDIR install |
erjo@4192 | 38 } |
erjo@4192 | 39 |
erjo@4192 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4192 | 41 genpkg_rules() |
erjo@4192 | 42 { |
Hans-G?nter@22717 | 43 mkdir -p $fs/usr/ |
Hans-G?nter@22717 | 44 mkdir -p $fs/etc/init.d |
al@19159 | 45 |
Hans-G?nter@22717 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22717 | 47 cp -a $install/usr/sbin/fcron $fs/usr/bin |
Hans-G?nter@22717 | 48 cp -a $install/var $fs |
Hans-G?nter@22717 | 49 cp -a $install/etc $fs |
al@19159 | 50 |
Hans-G?nter@22717 | 51 cp -a stuff/fcron $fs/etc/init.d |
erjo@4192 | 52 } |