wok annotate at/receipt @ rev 20649

retawq: regenerate mo files (Aleksej)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 12 12:21:17 2019 +0100 (2019-01-12)
parents e3270f32432e
children 40c9c6b1e4c6
rev   line source
pascal@7589 1 # SliTaz package receipt.
pascal@7589 2
pascal@7589 3 PACKAGE="at"
slaxemulator@10992 4 VERSION="3.1.13"
pascal@7589 5 CATEGORY="system-tools"
pascal@7589 6 SHORT_DESC="Schedule commands to be executed once."
pascal@7589 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15362 8 LICENSE="GPL2"
al@19275 9 WEB_SITE="http://packages.debian.org/lenny/at"
pascal@7589 10 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
pascal@7589 11 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
pascal@7589 12
pascal@20436 13 DEPENDS="flex"
pascal@15362 14 BUILD_DEPENDS="bison flex ssmtp"
pascal@15362 15
pascal@7589 16 # Rules to configure and make the package.
pascal@7589 17 compile_rules()
pascal@7589 18 {
pascal@19284 19 sed -i 's|/doc|/share/doc|' Makefile*
slaxemulator@8758 20 ./configure --with-daemon_username=nobody \
pascal@7589 21 --with-daemon_groupname=nogroup \
slaxemulator@8758 22 --with-atspool=/var/spool/atd \
slaxemulator@10051 23 --with-jobdir=/var/spool/atd \
slaxemulator@10051 24 $CONFIGURE_ARGS &&
slaxemulator@10992 25 make -j1 &&
slaxemulator@10992 26 make -j1 IROOT=$DESTDIR install
pascal@7589 27 }
pascal@7589 28
pascal@7589 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7589 30 genpkg_rules()
pascal@7589 31 {
slaxemulator@10992 32 mkdir -p $fs/usr $fs/etc/init.d
pascal@15362 33 cp -a $install/usr/bin $fs/usr
pascal@15362 34 cp -a $install/usr/sbin $fs/usr
pascal@15362 35 cp -a $install/etc $fs
pascal@15362 36 cp -a $install/var $fs
slaxemulator@10992 37 cp -a $stuff/atd $fs/etc/init.d
pascal@20436 38 chmod 6755 $fs/usr/bin/at
pascal@7589 39 }