wok-current annotate at/receipt @ rev 11854

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