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