wok-6.x annotate libmrss/receipt @ rev 24929
updated mtools (4.0.23 -> 4.0.39)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 15:59:41 2022 +0100 (2022-04-13) |
parents | 8f0d02db4d84 |
children | e1e1678c5265 |
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" |
tcg@17142 | 9 WEB_SITE="http://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 } |