wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fcron"
4 VERSION="3.2.1"
5 CATEGORY="network"
6 TAGS="cron scheduler"
7 SHORT_DESC="Periodical command scheduler."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://fcron.free.fr/"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://fcron.free.fr/archives/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="perl readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --without-sendmail \
26 --with-username=nobody \
27 --with-groupname=nogroup \
28 --with-pam=no \
29 --with-selinux=no \
30 --with-answer-all=no \
31 --with-boot-install=no \
32 --with-editor=/bin/vi \
33 --with-sysfcrontab=yes \
34 --with-systemdsystemunitdir=none \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/
44 mkdir -p $fs/etc/init.d
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/sbin/fcron $fs/usr/bin
48 cp -a $install/var $fs
49 cp -a $install/etc $fs
51 cp -a stuff/fcron $fs/etc/init.d
52 }