wok view lcov/receipt @ rev 25775

luajit, wayland, weston: fix current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 15 16:55:07 2024 +0000 (2 months ago)
parents cbdedb979b58
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make install \
28 PREFIX=/usr \
29 CFG_DIR=/etc \
30 DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 cook_copy_folders etc
38 }