wok-next view at/receipt @ rev 20566

linld, screenfetch: create $install tree (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:30:46 2018 +0200 (2018-04-10)
parents 11b5e93cb5f2
children f0bf21e1abf7
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 BUILD_DEPENDS="bison flex ssmtp"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's|/doc|/share/doc|' Makefile*
19 ./configure --with-daemon_username=nobody \
20 --with-daemon_groupname=nogroup \
21 --with-atspool=/var/spool/atd \
22 --with-jobdir=/var/spool/atd \
23 $CONFIGURE_ARGS &&
24 make -j1 &&
25 make -j1 IROOT=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc/init.d
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/etc $fs
35 cp -a $install/var $fs
36 cp -a $stuff/atd $fs/etc/init.d
37 }