# SliTaz package receipt. PACKAGE="libmrss" VERSION="0.19.2" CATEGORY="libs" SHORT_DESC="mRss is a C library for parsing, writing and creating RSS/ATOM files or streams." MAINTAINER="tcg.thegamer@gmail.com" LICENSE="GPL" WEB_SITE="https://www.autistici.org/bakunin" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" DEPENDS="libnxml" BUILD_DEPENDS="libnxml libnxml-dev libcurl curl-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/bakulf/libmrss/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*so* $fs/usr/lib }