wok-current annotate dcron/receipt @ rev 25371

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