wok view fcron/receipt @ rev 9814
aufs-utils: we need TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 00:41:27 2011 +0200 (2011-05-15) |
parents | cdfd51490366 |
children | 3b4e4318134e |
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 DEPENDS=""
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --without-sendmail \
23 --with-username=nobody \
24 --with-groupname=nogroup \
25 --with-pam=no \
26 --with-selinux=no \
27 --with-answer-all=no \
28 --with-boot-install=no \
29 --with-editor=/bin/vi \
30 --with-sysfcrontab=yes \
31 $CONFIGURE_ARGS &&
32 make && make -j1 DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/sbin/fcron $fs/usr/bin
41 cp -a $_pkg/var $fs/
42 cp -a $_pkg/etc $fs/
44 cp -a stuff/fcron $fs/etc/init.d
45 }