wok annotate libunistring/receipt @ rev 25463

Up expat (2.4.9) fixes CVE-2022-40674
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 29 20:05:23 2022 +0000 (20 months ago)
parents 5d79829fa876
children d79ed38ace18
rev   line source
al@19485 1 # SliTaz package receipt.
al@19485 2
al@19485 3 PACKAGE="libunistring"
Hans-G?nter@24842 4 VERSION="1.0"
al@19485 5 CATEGORY="libdevel"
Hans-G?nter@21325 6 SHORT_DESC="Unicode string library."
al@19485 7 MAINTAINER="al.bobylev@gmail.com"
al@19485 8 LICENSE="GPL3 LGPL3 FDL"
al@19485 9 WEB_SITE="https://www.gnu.org/software/libunistring/"
Hans-G?nter@21325 10
al@19485 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19485 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
al@19485 13
al@19485 14 DEPENDS="glibc-base"
al@19485 15
pascal@24072 16 current_version()
pascal@24072 17 {
pascal@24072 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 20 }
pascal@24072 21
al@19485 22 # Rules to configure and make the package.
al@19485 23 compile_rules()
al@19485 24 {
Hans-G?nter@21325 25 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24842 26 make &&
Hans-G?nter@21325 27 make install
al@19485 28 }
al@19485 29
al@19485 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19485 31 genpkg_rules()
al@19485 32 {
Hans-G?nter@24842 33 cook_copy_files *.so*
al@19485 34 }