wok-6.x annotate at/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (18 months ago) |
parents | 00e3b45c063b |
children |
rev | line source |
---|---|
pascal@7589 | 1 # SliTaz package receipt. |
pascal@7589 | 2 |
pascal@7589 | 3 PACKAGE="at" |
Hans-G?nter@24329 | 4 VERSION="3.2.2" |
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" |
Hans-G?nter@24329 | 9 WEB_SITE="https://packages.debian.org/lenny/at" |
Hans-G?nter@20713 | 10 |
pascal@7589 | 11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" |
pascal@25188 | 12 #WGET_URL="http://software.calhariz.com/at/$TARBALL" |
pascal@25188 | 13 WGET_URL="http://sources.buildroot.net/at/$TARBALL" |
pascal@7589 | 14 |
pascal@22687 | 15 DEPENDS="flex" |
pascal@15362 | 16 BUILD_DEPENDS="bison flex ssmtp" |
pascal@15362 | 17 |
pascal@24334 | 18 # What is the latest version available today? |
pascal@24334 | 19 current_version() |
pascal@24334 | 20 { |
pascal@25188 | 21 wget -O - http://software.calhariz.com/at/ 2>/dev/null | \ |
pascal@24334 | 22 sed "/${PACKAGE}_[0-9]/!d;/orig.tar/!d;s|.*${PACKAGE}_\\(.*\\).orig.tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24334 | 23 } |
pascal@24334 | 24 |
pascal@7589 | 25 # Rules to configure and make the package. |
pascal@7589 | 26 compile_rules() |
pascal@7589 | 27 { |
pascal@19284 | 28 sed -i 's|/doc|/share/doc|' Makefile* |
Hans-G?nter@22405 | 29 |
Hans-G?nter@22405 | 30 ./configure \ |
Hans-G?nter@22405 | 31 --with-daemon_username=nobody \ |
Hans-G?nter@22405 | 32 --with-daemon_groupname=nogroup \ |
Hans-G?nter@22405 | 33 --with-atspool=/var/spool/atd \ |
Hans-G?nter@22405 | 34 --with-jobdir=/var/spool/atd \ |
Hans-G?nter@20713 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@24329 | 36 make -j 1 && |
Hans-G?nter@24329 | 37 make install IROOT=$DESTDIR |
Hans-G?nter@24329 | 38 # do not remove "-j 1" |
pascal@7589 | 39 } |
pascal@7589 | 40 |
pascal@7589 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7589 | 42 genpkg_rules() |
pascal@7589 | 43 { |
Hans-G?nter@22405 | 44 mkdir -p $fs/usr |
Hans-G?nter@22405 | 45 mkdir -p $fs/etc/init.d |
Hans-G?nter@22405 | 46 |
Hans-G?nter@22405 | 47 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22405 | 48 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22405 | 49 cp -a $install/etc $fs |
Hans-G?nter@22405 | 50 cp -a $install/var $fs |
Hans-G?nter@22405 | 51 cp -a $stuff/atd $fs/etc/init.d |
Hans-G?nter@24329 | 52 chmod 6755 $fs/usr/bin/at |
pascal@7589 | 53 } |