wok annotate libmrss/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (20 months ago) |
parents | 544e47246b33 |
children |
rev | line source |
---|---|
tcg@17142 | 1 # SliTaz package receipt. |
tcg@17142 | 2 |
tcg@17142 | 3 PACKAGE="libmrss" |
tcg@17142 | 4 VERSION="0.19.2" |
tcg@17142 | 5 CATEGORY="libs" |
tcg@17142 | 6 SHORT_DESC="mRss is a C library for parsing, writing and creating RSS/ATOM files or streams." |
tcg@17142 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
tcg@17142 | 8 LICENSE="GPL" |
pascal@24974 | 9 WEB_SITE="https://www.autistici.org/bakunin" |
tcg@17142 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
tcg@17142 | 11 WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" |
tcg@17142 | 12 |
tcg@17142 | 13 DEPENDS="libnxml" |
tcg@17142 | 14 BUILD_DEPENDS="libnxml libnxml-dev libcurl curl-dev" |
tcg@17142 | 15 |
pascal@24540 | 16 # What is the latest version available today? |
pascal@24540 | 17 current_version() |
pascal@24540 | 18 { |
pascal@24540 | 19 wget -O - https://github.com/bakulf/libmrss/tags 2>/dev/null | \ |
pascal@24540 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24540 | 21 } |
pascal@24540 | 22 |
tcg@17142 | 23 # Rules to configure and make the package. |
tcg@17142 | 24 compile_rules() |
tcg@17142 | 25 { |
tcg@17142 | 26 ./configure $CONFIGURE_ARGS && make && make install |
tcg@17142 | 27 } |
tcg@17142 | 28 |
tcg@17142 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
tcg@17142 | 30 genpkg_rules() |
tcg@17142 | 31 { |
pascal@17146 | 32 mkdir -p $fs/usr/lib |
tcg@17142 | 33 cp -a $install/usr/lib/*so* $fs/usr/lib |
tcg@17142 | 34 } |