wok annotate electric-fence/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents c6996070ca97
children e6b1d0b43c4a
rev   line source
erjo@1728 1 # SliTaz package receipt.
erjo@1728 2
erjo@1728 3 PACKAGE="electric-fence"
Hans-G?nter@20879 4 VERSION="2.2.5"
erjo@1728 5 CATEGORY="development"
Hans-G?nter@20879 6 TAGS="debugger"
erjo@1728 7 SHORT_DESC="Memory allocation debugger"
erjo@1728 8 MAINTAINER="erjo@slitaz.org"
pascal@15588 9 LICENSE="GPL2"
pascal@20682 10 WEB_SITE="https://web.archive.org/web/20121027131441/http://perens.com/works/software/ElectricFence/"
Hans-G?nter@20879 11
Hans-G?nter@20879 12 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
Hans-G?nter@20879 13 WGET_URL="http://deb.debian.org/debian/pool/main/e/$PACKAGE/$TARBALL"
erjo@1728 14
pascal@15588 15 DEPENDS="gdb"
pascal@15588 16
pascal@24419 17 # What is the latest version available today?
pascal@24419 18 current_version()
pascal@24419 19 {
pascal@24419 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24419 21 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24419 22 }
pascal@24419 23
erjo@1728 24 # Rules to configure and make the package.
erjo@1728 25 compile_rules()
erjo@1728 26 {
erjo@1728 27 make
erjo@1728 28 }
erjo@1728 29
erjo@1728 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1728 31 genpkg_rules()
erjo@1728 32 {
erjo@1728 33 mkdir -p $fs/usr/lib $fs/usr/bin
erjo@1728 34 cp -a $src/eftest $fs/usr/bin
erjo@1728 35 cp -a $src/tstheap $fs/usr/bin
erjo@1728 36 cp -a $src/*.a $fs/usr/lib
erjo@1728 37 }