wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lcov"
4 VERSION="1.15"
5 CATEGORY="development"
6 SHORT_DESC="LTP GCOV extension code coverage tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPLv2+"
9 WEB_SITE="https://github.com/linux-test-project/lcov"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 SUGGESTED="gcc"
15 DEPENDS="perl"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make install \
27 PREFIX=/usr \
28 CFG_DIR=/etc \
29 DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 cook_copy_folders etc
37 }