wok-6.x view fcron/receipt @ rev 4452
fix check_flavors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 08 10:04:15 2009 +0100 (2009-11-08) |
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 }