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