wok view fcron/receipt @ rev 4355

xarchive: add xz support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 04 15:34:46 2009 +0200 (2009-10-04)
parents
children fb8aceda65ff
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --localstatedir=/var \
21 --without-sendmail \
22 --with-username=nobody \
23 --with-groupname=nogroup \
24 --with-pam=no \
25 --with-selinux=no \
26 --with-answer-all=no \
27 --with-boot-install=no \
28 --with-editor=/bin/vi \
29 --with-sysfcrontab=yes \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/var $fs/
40 cp -a $_pkg/etc $fs/
41 cp -a $src/fcron $fs/usr/bin
43 cp -a stuff/fcron $fs/etc/init.d
44 }