wok-next view at/receipt @ rev 15578

wpa_supplicant: update start script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 29 13:39:45 2013 +0000 (2013-11-29)
parents b8f690d89541
children 7f39549720b8
line source
1 # SliTaz package receipt.
3 PACKAGE="at"
4 VERSION="3.1.13"
5 CATEGORY="system-tools"
6 SHORT_DESC="Schedule commands to be executed once."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
10 WEB_SITE="http://packages.debian.org/lenny/at"
11 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="bison flex ssmtp"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 ./configure --with-daemon_username=nobody \
21 --with-daemon_groupname=nogroup \
22 --with-atspool=/var/spool/atd \
23 --with-jobdir=/var/spool/atd \
24 $CONFIGURE_ARGS &&
25 make -j1 &&
26 make -j1 IROOT=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc/init.d
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/etc $fs
36 cp -a $install/var $fs
37 cp -a $stuff/atd $fs/etc/init.d
38 }