wok-6.x annotate at/receipt @ rev 19287

get-vivaldi: update deps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 08:57:45 2016 +0200 (2016-07-06)
parents 11b5e93cb5f2
children 53dff15e8d95
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@15362 13 BUILD_DEPENDS="bison flex ssmtp"
pascal@15362 14
pascal@7589 15 # Rules to configure and make the package.
pascal@7589 16 compile_rules()
pascal@7589 17 {
pascal@19284 18 sed -i 's|/doc|/share/doc|' Makefile*
slaxemulator@8758 19 ./configure --with-daemon_username=nobody \
pascal@7589 20 --with-daemon_groupname=nogroup \
slaxemulator@8758 21 --with-atspool=/var/spool/atd \
slaxemulator@10051 22 --with-jobdir=/var/spool/atd \
slaxemulator@10051 23 $CONFIGURE_ARGS &&
slaxemulator@10992 24 make -j1 &&
slaxemulator@10992 25 make -j1 IROOT=$DESTDIR install
pascal@7589 26 }
pascal@7589 27
pascal@7589 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7589 29 genpkg_rules()
pascal@7589 30 {
slaxemulator@10992 31 mkdir -p $fs/usr $fs/etc/init.d
pascal@15362 32 cp -a $install/usr/bin $fs/usr
pascal@15362 33 cp -a $install/usr/sbin $fs/usr
pascal@15362 34 cp -a $install/etc $fs
pascal@15362 35 cp -a $install/var $fs
slaxemulator@10992 36 cp -a $stuff/atd $fs/etc/init.d
pascal@7589 37 }