wok view at/receipt @ rev 25006

updated ntp (4.2.8.p13 -> 4.2.8.p15)
author Hans-G?nter Theisgen
date Mon May 16 16:37:26 2022 +0100 (2022-05-16)
parents 21f65cda07b9
children 2a1d69e69015
line source
1 # SliTaz package receipt.
3 PACKAGE="at"
4 VERSION="3.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Schedule commands to be executed once."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://packages.debian.org/lenny/at"
11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
12 WGET_URL="http://software.calhariz.com/at/$TARBALL"
14 DEPENDS="flex"
15 BUILD_DEPENDS="bison flex ssmtp"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/${PACKAGE}_[0-9]/!d;/orig.tar/!d;s|.*${PACKAGE}_\\(.*\\).orig.tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|/doc|/share/doc|' Makefile*
29 ./configure \
30 --with-daemon_username=nobody \
31 --with-daemon_groupname=nogroup \
32 --with-atspool=/var/spool/atd \
33 --with-jobdir=/var/spool/atd \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make install IROOT=$DESTDIR
37 # do not remove "-j 1"
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 mkdir -p $fs/etc/init.d
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/etc $fs
49 cp -a $install/var $fs
50 cp -a $stuff/atd $fs/etc/init.d
51 chmod 6755 $fs/usr/bin/at
52 }