wok-next view at/receipt @ rev 21553
updated clonezilla (3.27.16 -> 3.35.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 13:31:23 2020 +0100 (2020-06-22) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="at"
4 VERSION="3.2.1"
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"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/at.html"
12 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
13 WGET_URL="http://ftp.debian.org/debian/pool/main/a/at/$TARBALL"
14 WGET_URL="http://software.calhariz.com/$PACKAGE/$TARBALL"
16 BUILD_DEPENDS="automake bison flex ssmtp"
18 compile_rules()
19 {
20 addgroup -g 17 -S atd
21 adduser -S -H -D -g "atd daemon" -G atd -u 17 atd
22 mkdir -p /var/spool/cron
24 sed -i '/docdir/s|=.*|= @docdir@|' Makefile.in
25 autoreconf &&
27 ./configure \
28 --with-daemon_username=atd \
29 --with-daemon_groupname=atd \
30 SENDMAIL=/usr/sbin/sendmail \
31 --with-atspool=/var/spool/atd \
32 --with-jobdir=/var/spool/atd \
33 $CONFIGURE_ARGS &&
34 make -j1 &&
35 make -j1 install \
36 IROOT=$install \
37 docdir=/usr/share/doc/$PACKAGE-$VERSION \
38 atdocdir=/usr/share/doc/$PACKAGE-$VERSION ||
39 return 1
41 install -Dm755 $stuff/atd $install/etc/init.d/atd
42 }
44 genpkg_rules()
45 {
46 copy @std
47 DEPENDS="libflex"
48 }
50 post_install()
51 {
52 if ! grep -q '^atd:' "$1/etc/group"
53 then
54 chroot "$1/" addgroup -g 17 -S atd
55 chroot "$1/" adduser -S -H -D -g "atd daemon" -G atd -u 17 atd
56 fi
57 }