wok-current view electric-fence/receipt @ rev 25604

Use gcc49 to build mysql
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 20:31:42 2023 +0000 (16 months ago)
parents b78e79c31b1f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="electric-fence"
4 VERSION="2.2.6"
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/"
11 REPOLOGY="electricfence"
13 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
14 WGET_URL="https://deb.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
16 DEPENDS="gdb"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/usr/lib
37 cp -a $src/eftest $fs/usr/bin
38 cp -a $src/tstheap $fs/usr/bin
39 cp -a $src/*.a $fs/usr/lib
40 }