wok-4.x annotate at/receipt @ rev 8323
tazdev: add experimental
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 01 22:09:33 2011 +0100 (2011-02-01) |
parents | |
children | 15d500d217fa |
rev | line source |
---|---|
pascal@7589 | 1 # SliTaz package receipt. |
pascal@7589 | 2 |
pascal@7589 | 3 PACKAGE="at" |
pascal@7589 | 4 VERSION="3.1.12" |
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@7589 | 8 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" |
pascal@7589 | 9 WEB_SITE="http://packages.debian.org/lenny/at" |
pascal@7589 | 10 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
pascal@7589 | 11 |
pascal@7589 | 12 # Rules to configure and make the package. |
pascal@7589 | 13 compile_rules() |
pascal@7589 | 14 { |
pascal@7589 | 15 cd $src |
pascal@7589 | 16 |
pascal@7589 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@7589 | 18 --mandir=/usr/share/man \ |
pascal@7589 | 19 --with-daemon_username=nobody \ |
pascal@7589 | 20 --with-daemon_groupname=nogroup \ |
pascal@7589 | 21 $CONFIGURE_ARGS && |
pascal@7589 | 22 make && |
pascal@7589 | 23 make IROOT=$PWD/_pkg install |
pascal@7589 | 24 } |
pascal@7589 | 25 |
pascal@7589 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7589 | 27 genpkg_rules() |
pascal@7589 | 28 { |
pascal@7589 | 29 mkdir -p $fs/usr |
pascal@7589 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@7589 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pascal@7589 | 32 cp -a $_pkg/etc $fs |
pascal@7589 | 33 cp -a $_pkg/var $fs |
pascal@7589 | 34 } |