wok view at/receipt @ rev 19644

dev86: update post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 21 15:22:15 2017 +0100 (2017-01-21)
parents 11b5e93cb5f2
children 53dff15e8d95
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 }