wok-6.x annotate electric-fence/receipt @ rev 24586
updated gawk (5.0.1 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 09:01:30 2022 +0100 (2022-02-28) |
parents | b78e79c31b1f |
children |
rev | line source |
---|---|
erjo@1728 | 1 # SliTaz package receipt. |
erjo@1728 | 2 |
erjo@1728 | 3 PACKAGE="electric-fence" |
Hans-G?nter@24512 | 4 VERSION="2.2.6" |
erjo@1728 | 5 CATEGORY="development" |
Hans-G?nter@20879 | 6 TAGS="debugger" |
Hans-G?nter@24512 | 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@24512 | 11 REPOLOGY="electricfence" |
Hans-G?nter@20879 | 12 |
Hans-G?nter@20879 | 13 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
Hans-G?nter@24512 | 14 WGET_URL="https://deb.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
erjo@1728 | 15 |
pascal@15588 | 16 DEPENDS="gdb" |
pascal@15588 | 17 |
pascal@24419 | 18 # What is the latest version available today? |
pascal@24419 | 19 current_version() |
pascal@24419 | 20 { |
pascal@24419 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24419 | 22 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24419 | 23 } |
pascal@24419 | 24 |
erjo@1728 | 25 # Rules to configure and make the package. |
erjo@1728 | 26 compile_rules() |
erjo@1728 | 27 { |
erjo@1728 | 28 make |
erjo@1728 | 29 } |
erjo@1728 | 30 |
erjo@1728 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1728 | 32 genpkg_rules() |
erjo@1728 | 33 { |
Hans-G?nter@24512 | 34 mkdir -p $fs/usr/bin |
Hans-G?nter@24512 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@24512 | 36 |
Hans-G?nter@24512 | 37 cp -a $src/eftest $fs/usr/bin |
Hans-G?nter@24512 | 38 cp -a $src/tstheap $fs/usr/bin |
Hans-G?nter@24512 | 39 cp -a $src/*.a $fs/usr/lib |
erjo@1728 | 40 } |