wok annotate lcov/receipt @ rev 24590
syslinux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:39:39 2022 +0000 (2022-02-28) |
parents | 3f766b079e67 |
children | cbdedb979b58 |
rev | line source |
---|---|
pascal@20523 | 1 # SliTaz package receipt. |
pascal@20523 | 2 |
pascal@20523 | 3 PACKAGE="lcov" |
Hans-G?nter@22995 | 4 VERSION="1.14" |
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 { |
pascal@20523 | 26 make PREFIX=/usr CFG_DIR=/etc DESTDIR=$DESTDIR install |
pascal@20523 | 27 } |
pascal@20523 | 28 |
pascal@20523 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20523 | 30 genpkg_rules() |
pascal@20523 | 31 { |
pascal@20523 | 32 mkdir -p $fs/usr |
Hans-G?nter@22995 | 33 |
Hans-G?nter@22995 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22995 | 35 cp -a $install/etc $fs |
pascal@20523 | 36 } |