wok annotate at/receipt @ rev 22060

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