wok annotate libnxml/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (4 months ago)
parents 544e47246b33
children
rev   line source
tcg@17142 1 # SliTaz package receipt.
tcg@17142 2
tcg@17142 3 PACKAGE="libnxml"
tcg@17142 4 VERSION="0.18.3"
tcg@17142 5 CATEGORY="libs"
tcg@17142 6 SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams."
tcg@17142 7 MAINTAINER="tcg.thegamer@gmail.com"
pascal@17145 8 LICENSE="LGPL2.1"
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=""
tcg@17142 14 BUILD_DEPENDS="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/libnxml/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@17145 32 mkdir -p $fs/usr/lib
tcg@17142 33 cp -a $install/usr/lib/*so* $fs/usr/lib
tcg@17142 34 }