wok-6.x view fcron/receipt @ rev 24539
updated fbgrab (1.3 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:32:13 2022 +0100 (2022-02-23) |
parents | 10318df32b5c |
children | 0db0ae7e04c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fcron"
4 VERSION="3.2.1"
5 CATEGORY="network"
6 TAGS="cron scheduler"
7 SHORT_DESC="Periodical command scheduler."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://fcron.free.fr/"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://fcron.free.fr/archives/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="perl readline-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/yo8192/fcron/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[a-z]*\(.*\).tar.*|\1|;s|_|.|g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --without-sendmail \
33 --with-username=nobody \
34 --with-groupname=nogroup \
35 --with-pam=no \
36 --with-selinux=no \
37 --with-answer-all=no \
38 --with-boot-install=no \
39 --with-editor=/bin/vi \
40 --with-sysfcrontab=yes \
41 --with-systemdsystemunitdir=none \
42 $CONFIGURE_ARGS &&
43 make &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/
51 mkdir -p $fs/etc/init.d
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/usr/sbin/fcron $fs/usr/bin
55 cp -a $install/var $fs
56 cp -a $install/etc $fs
58 cp -a stuff/fcron $fs/etc/init.d
59 }