wok-6.x view at/receipt @ rev 21115

libaio: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 19 18:51:13 2019 +0100 (2019-03-19)
parents 53dff15e8d95
children bf3c685967c6
line source
1 # SliTaz package receipt.
3 PACKAGE="at"
4 VERSION="3.1.23"
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"
11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
12 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
14 DEPENDS="flex"
15 BUILD_DEPENDS="bison flex ssmtp"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/doc|/share/doc|' Makefile*
21 ./configure \
22 --with-daemon_username=nobody \
23 --with-daemon_groupname=nogroup \
24 --with-atspool=/var/spool/atd \
25 --with-jobdir=/var/spool/atd \
26 $CONFIGURE_ARGS &&
27 make -j1 &&
28 make -j1 IROOT=$DESTDIR install || return 1
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/etc/init.d
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/etc $fs
38 cp -a $install/var $fs
39 cp -a $stuff/atd $fs/etc/init.d
40 chmod 6755 $fs/usr/bin/at
41 }