wok view at/receipt @ rev 20436

at: fix permission (bugs 200 & 201)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 09 10:21:27 2018 +0200 (6 weeks ago)
parents e3270f32432e
children
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 WEB_SITE="http://packages.debian.org/lenny/at"
10 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
11 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
13 DEPENDS="flex"
14 BUILD_DEPENDS="bison flex ssmtp"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/doc|/share/doc|' Makefile*
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 chmod 6755 $fs/usr/bin/at
39 }