wok-current view at/receipt @ rev 13592
lessfs: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 08 10:00:51 2012 +0100 (2012-11-08) |
parents | 38414ef5967d |
children | 617dbdeb6f7e |
line source
1 # SliTaz package receipt.
3 PACKAGE="at"
4 VERSION="3.1.13"
5 CATEGORY="system-tools"
6 SHORT_DESC="Schedule commands to be executed once."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="bison flex ssmtp"
9 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
10 WEB_SITE="http://packages.debian.org/lenny/at"
11 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
18 ./configure --with-daemon_username=nobody \
19 --with-daemon_groupname=nogroup \
20 --with-atspool=/var/spool/atd \
21 --with-jobdir=/var/spool/atd \
22 $CONFIGURE_ARGS &&
23 make -j1 &&
24 make -j1 IROOT=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc/init.d
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/var $fs
35 cp -a $stuff/atd $fs/etc/init.d
36 }