wok view at/receipt @ rev 22429
Up codec2 (0.9.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 20 10:49:58 2019 +0100 (2019-12-20) |
parents | 40c9c6b1e4c6 |
children | 19b183f321a4 |
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 pam"
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 }