wok-6.x view lcov/receipt @ rev 24819
libnsl: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 23 09:20:46 2022 +0000 (2022-03-23) |
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 }