wok-6.x view fcron/receipt @ rev 5162

icu, libetpan, libplayer, libvalhalla, wesnoth, xine-lib: compile_rules should be busybox compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 25 09:27:06 2010 +0100 (2010-03-25)
parents aefe609dbcdf
children cdfd51490366
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 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/var $fs/
41 cp -a $_pkg/etc $fs/
42 cp -a $src/fcron $fs/usr/bin
44 cp -a stuff/fcron $fs/etc/init.d
45 }