wok-6.x annotate at/receipt @ rev 22850
bluez: add v4 deprecated tools (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 16 19:19:37 2020 +0100 (2020-02-16) |
parents | bf3c685967c6 |
children | 5075d5ce24d0 |
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@22687 | 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@22405 | 21 |
Hans-G?nter@22405 | 22 ./configure \ |
Hans-G?nter@22405 | 23 --with-daemon_username=nobody \ |
Hans-G?nter@22405 | 24 --with-daemon_groupname=nogroup \ |
Hans-G?nter@22405 | 25 --with-atspool=/var/spool/atd \ |
Hans-G?nter@22405 | 26 --with-jobdir=/var/spool/atd \ |
Hans-G?nter@20713 | 27 $CONFIGURE_ARGS && |
slaxemulator@10992 | 28 make -j1 && |
Hans-G?nter@20713 | 29 make -j1 IROOT=$DESTDIR install || return 1 |
pascal@7589 | 30 } |
pascal@7589 | 31 |
pascal@7589 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7589 | 33 genpkg_rules() |
pascal@7589 | 34 { |
Hans-G?nter@22405 | 35 mkdir -p $fs/usr |
Hans-G?nter@22405 | 36 mkdir -p $fs/etc/init.d |
Hans-G?nter@22405 | 37 |
Hans-G?nter@22405 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22405 | 39 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22405 | 40 cp -a $install/etc $fs |
Hans-G?nter@22405 | 41 cp -a $install/var $fs |
Hans-G?nter@22405 | 42 cp -a $stuff/atd $fs/etc/init.d |
pascal@20436 | 43 chmod 6755 $fs/usr/bin/at |
pascal@7589 | 44 } |