wok rev 7589

Add at
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 10 10:11:30 2010 +0100 (2010-12-10)
parents b6f6e0af98c6
children 5a926670590a
files at/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/at/receipt	Fri Dec 10 10:11:30 2010 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="at"
     1.7 +VERSION="3.1.12"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Schedule commands to be executed once."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
    1.12 +WEB_SITE="http://packages.debian.org/lenny/at"
    1.13 +WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +
    1.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21 +	--mandir=/usr/share/man \
    1.22 +	--with-daemon_username=nobody \
    1.23 +	--with-daemon_groupname=nogroup \
    1.24 +	$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make IROOT=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/sbin $fs/usr
    1.35 +	cp -a $_pkg/etc $fs
    1.36 +	cp -a $_pkg/var $fs
    1.37 +}