wok-6.x annotate iniparser/receipt @ rev 24323
updated aria2 (1.35.0 -> 1.36.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 09:00:40 2022 +0100 (2022-01-27) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
erjo@13409 | 1 # SliTaz package receipt. |
erjo@13409 | 2 |
erjo@13409 | 3 PACKAGE="iniparser" |
Hans-G?nter@21049 | 4 VERSION="4.1" |
erjo@13409 | 5 CATEGORY="system-tools" |
erjo@13409 | 6 SHORT_DESC="Free stand-alone ini file parsing library." |
erjo@13409 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15600 | 8 LICENSE="MIT" |
Hans-G?nter@21049 | 9 WEB_SITE="https://github.com/ndevilla/iniparser/" |
Hans-G?nter@21049 | 10 |
erjo@13409 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21049 | 12 WGET_URL="https://github.com/ndevilla/$PACKAGE/archive/v$VERSION.tar.gz" |
erjo@13409 | 13 |
erjo@13409 | 14 DEPENDS="" |
erjo@13409 | 15 BUILD_DEPENDS="" |
erjo@13409 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
erjo@13409 | 23 # Rules to configure and make the package. |
erjo@13409 | 24 compile_rules() |
erjo@13409 | 25 { |
erjo@13409 | 26 make |
erjo@13409 | 27 } |
erjo@13409 | 28 |
erjo@13409 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13409 | 30 genpkg_rules() |
erjo@13409 | 31 { |
erjo@13409 | 32 mkdir -p $fs/usr/lib |
erjo@13409 | 33 cp -a $src/*.so* $fs/usr/lib |
erjo@13409 | 34 } |