wok-next view fcron/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 9d97bcfbe863
children 757d032c55c7
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 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --without-sendmail \
25 --with-username=nobody \
26 --with-groupname=nogroup \
27 --with-pam=no \
28 --with-selinux=no \
29 --with-answer-all=no \
30 --with-boot-install=no \
31 --with-editor=/bin/vi \
32 --with-sysfcrontab=yes \
33 $CONFIGURE_ARGS &&
34 make && make -j1 DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/ $fs/etc/init.d
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 }