wok-6.x annotate at/receipt @ rev 16512

Add wiringpi-piglow (small utility writtrn in C to handle PiGlow leds)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 21:18:26 2014 +0200 (2014-04-24)
parents b8f690d89541
children 7f39549720b8
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"
pascal@15362 8 LICENSE="GPL2"
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@15362 13 BUILD_DEPENDS="bison flex ssmtp"
pascal@15362 14
pascal@7589 15 # Rules to configure and make the package.
pascal@7589 16 compile_rules()
pascal@7589 17 {
pascal@7589 18 cd $src
pascal@7589 19
slaxemulator@8758 20 ./configure --with-daemon_username=nobody \
pascal@7589 21 --with-daemon_groupname=nogroup \
slaxemulator@8758 22 --with-atspool=/var/spool/atd \
slaxemulator@10051 23 --with-jobdir=/var/spool/atd \
slaxemulator@10051 24 $CONFIGURE_ARGS &&
slaxemulator@10992 25 make -j1 &&
slaxemulator@10992 26 make -j1 IROOT=$DESTDIR install
pascal@7589 27 }
pascal@7589 28
pascal@7589 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7589 30 genpkg_rules()
pascal@7589 31 {
slaxemulator@10992 32 mkdir -p $fs/usr $fs/etc/init.d
pascal@15362 33 cp -a $install/usr/bin $fs/usr
pascal@15362 34 cp -a $install/usr/sbin $fs/usr
pascal@15362 35 cp -a $install/etc $fs
pascal@15362 36 cp -a $install/var $fs
slaxemulator@10992 37 cp -a $stuff/atd $fs/etc/init.d
pascal@7589 38 }