wok-current view dcron/receipt @ rev 25698

Fix ntfs-3g receipt
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 19:01:01 2024 +0000 (7 months ago)
parents 10d0f1cbf852
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dcron"
4 VERSION="4.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Dillon's lightweight cron daemon."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.jimpryor.net/linux/dcron.html"
11 WGET_URL="http://www.jimpryor.net/linux/releases/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WEB_SITE 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make PREFIX=/usr CRONTAB_GROUP=users &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/var $fs
35 }