wok annotate valgrind/receipt @ rev 25032

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:08 2022 +0100 (2022-05-20)
parents 934055de50e2
children
rev   line source
paul@3641 1 # SliTaz package receipt.
paul@3641 2
paul@3641 3 PACKAGE="valgrind"
Hans-G?nter@22093 4 VERSION="3.15.0"
paul@3641 5 CATEGORY="development"
Hans-G?nter@22093 6 TAGS="profiler"
paul@3641 7 SHORT_DESC="Memory debugger and profiler."
paul@3641 8 MAINTAINER="paul@slitaz.org"
pascal@15098 9 LICENSE="GPL2"
pascal@24746 10 WEB_SITE="https://valgrind.org/"
Hans-G?nter@22093 11
Hans-G?nter@22093 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22093 13 WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL"
Hans-G?nter@22093 14
paul@3641 15 SUGGESTED="perl"
pascal@15098 16 DEPENDS=""
Hans-G?nter@22093 17 BUILD_DEPENDS="autoconf"
pascal@15098 18
pascal@24462 19 # What is the latest version available today?
pascal@24462 20 current_version()
pascal@24462 21 {
pascal@24462 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24462 24 }
pascal@24462 25
paul@3641 26 # Rules to configure and make the package.
paul@3641 27 compile_rules()
paul@3641 28 {
Hans-G?nter@22093 29 autoconf &&
Hans-G?nter@22093 30 ./configure \
Hans-G?nter@22093 31 --prefix=/usr \
Hans-G?nter@22093 32 --infodir=/usr/share/info \
Hans-G?nter@22093 33 --mandir=/usr/share/man \
pascal@15265 34 $CONFIGURE_ARGS &&
Hans-G?nter@22093 35 make &&
Hans-G?nter@22093 36 make DESTDIR=$DESTDIR install
paul@3641 37 }
paul@3641 38
paul@3641 39 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3641 40 genpkg_rules()
paul@3641 41 {
paul@3641 42 mkdir -p $fs/usr/lib/valgrind
Hans-G?nter@22093 43
Hans-G?nter@22093 44 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22093 45 cp -a $install/usr/lib/valgrind/* $fs/usr/lib/valgrind
Hans-G?nter@22093 46
paul@3641 47 # remove static libraries
paul@4457 48 rm $fs/usr/lib/valgrind/*.*a
paul@3641 49 }