wok annotate libnxml/receipt @ rev 25055
linux: disable Realtek RTL8723AU Wireless LAN NIC driver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 09:43:10 2022 +0000 (2022-06-06) |
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 } |