wok-6.x view fcron/receipt @ rev 16231
Up fpc (2.6.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 01 09:10:23 2014 +0000 (2014-04-01) |
parents | 3b4e4318134e |
children | 7f188676b59c |
line source
1 # SliTaz package receipt.
3 PACKAGE="fcron"
4 VERSION="3.0.4"
5 CATEGORY="network"
6 SHORT_DESC="Periodical command scheduler"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
10 WEB_SITE="http://fcron.free.fr/"
11 WGET_URL="http://fcron.free.fr/archives/$TARBALL"
12 TAGS="cron scheduler"
14 DEPENDS=""
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 $CONFIGURE_ARGS &&
35 make && make -j1 DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/sbin/fcron $fs/usr/bin
44 cp -a $install/var $fs/
45 cp -a $install/etc $fs/
47 cp -a stuff/fcron $fs/etc/init.d
48 }