# HG changeset patch # User Pascal Bellard # Date 1291972290 -3600 # Node ID cd8b7d34a9a8fc6b6ea49beafb0d7ef3e4e75b04 # Parent b6f6e0af98c612bb9f3c9db8aa8fc692cc0ca907 Add at diff -r b6f6e0af98c6 -r cd8b7d34a9a8 at/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/at/receipt Fri Dec 10 10:11:30 2010 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="at" +VERSION="3.1.12" +CATEGORY="system-tools" +SHORT_DESC="Schedule commands to be executed once." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" +WEB_SITE="http://packages.debian.org/lenny/at" +WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-daemon_username=nobody \ + --with-daemon_groupname=nogroup \ + $CONFIGURE_ARGS && + make && + make IROOT=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/etc $fs + cp -a $_pkg/var $fs +}