wok-current annotate lcov/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@20523 | 1 # SliTaz package receipt. |
pascal@20523 | 2 |
pascal@20523 | 3 PACKAGE="lcov" |
Hans-G?nter@24707 | 4 VERSION="1.15" |
pascal@20523 | 5 CATEGORY="development" |
Hans-G?nter@22995 | 6 SHORT_DESC="LTP GCOV extension code coverage tool." |
pascal@20523 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@22995 | 8 LICENSE="GPLv2+" |
Hans-G?nter@22995 | 9 WEB_SITE="https://github.com/linux-test-project/lcov" |
Hans-G?nter@22995 | 10 |
pascal@20523 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22995 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@20523 | 13 |
pascal@20523 | 14 SUGGESTED="gcc" |
pascal@20523 | 15 DEPENDS="perl" |
pascal@20523 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@20523 | 23 # Rules to configure and make the package. |
pascal@20523 | 24 compile_rules() |
pascal@20523 | 25 { |
Hans-G?nter@24707 | 26 make install \ |
Hans-G?nter@24707 | 27 PREFIX=/usr \ |
Hans-G?nter@24707 | 28 CFG_DIR=/etc \ |
Hans-G?nter@24707 | 29 DESTDIR=$DESTDIR |
pascal@20523 | 30 } |
pascal@20523 | 31 |
pascal@20523 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20523 | 33 genpkg_rules() |
pascal@20523 | 34 { |
Hans-G?nter@24707 | 35 cook_copy_folders bin |
Hans-G?nter@24707 | 36 cook_copy_folders etc |
pascal@20523 | 37 } |