wok view at/receipt @ rev 24329

updated at (3.1.23 -> 3.2.2)
author Hans-G?nter Theisgen
date Thu Jan 27 14:44:44 2022 +0100 (2022-01-27)
parents 19b183f321a4
children 21f65cda07b9
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://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
14 DEPENDS="flex"
15 BUILD_DEPENDS="bison flex ssmtp"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/doc|/share/doc|' Makefile*
22 ./configure \
23 --with-daemon_username=nobody \
24 --with-daemon_groupname=nogroup \
25 --with-atspool=/var/spool/atd \
26 --with-jobdir=/var/spool/atd \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make install IROOT=$DESTDIR
30 # do not remove "-j 1"
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 mkdir -p $fs/etc/init.d
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/etc $fs
42 cp -a $install/var $fs
43 cp -a $stuff/atd $fs/etc/init.d
44 chmod 6755 $fs/usr/bin/at
45 }