wok view at/receipt @ rev 23876
Up dropbear (2020.80)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 01 14:12:33 2020 +0000 (2020-07-01) |
parents | bf3c685967c6 |
children | 5075d5ce24d0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="at"
4 VERSION="3.1.23"
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="http://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 -j1 &&
29 make -j1 IROOT=$DESTDIR install || return 1
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 mkdir -p $fs/etc/init.d
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/etc $fs
41 cp -a $install/var $fs
42 cp -a $stuff/atd $fs/etc/init.d
43 chmod 6755 $fs/usr/bin/at
44 }