wok annotate iksemel/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 38b8e4536e6e
children 20ad21d5532c
rev   line source
pascal@1177 1 # SliTaz package receipt.
pascal@1177 2
pascal@1177 3 PACKAGE="iksemel"
Hans-G?nter@22944 4 VERSION="1.4.2"
pascal@1177 5 CATEGORY="network"
pascal@1177 6 SHORT_DESC="XML parser library for Jabber applications."
pascal@1177 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="LGPL2.1"
Hans-G?nter@22944 9 WEB_SITE="https://github.com/timothytylee/iksemel-1.4"
Hans-G?nter@22944 10
pascal@1177 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22944 12 WGET_URL="https://github.com/timothytylee/$PACKAGE-${VERSION%.*}/archive/v$VERSION.tar.gz"
pascal@1177 13
Hans-G?nter@22944 14 DEPENDS="gnutls libgcrypt libgpg-error pkg-config zlib"
Hans-G?nter@22945 15 BUILD_DEPENDS="autoconf automake libtool texinfo"
pascal@15597 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@1177 23 # Rules to configure and make the package.
pascal@1177 24 compile_rules()
pascal@1177 25 {
Hans-G?nter@22944 26 ./autogen.sh &&
Hans-G?nter@22944 27 ./configure \
Hans-G?nter@22944 28 --prefix=/usr \
Hans-G?nter@22944 29 --infodir=/usr/share/info \
Hans-G?nter@22944 30 --mandir=/usr/share/man \
Hans-G?nter@22944 31 $CONFIGURE_ARGS &&
pascal@2481 32 make &&
pascal@15600 33 make DESTDIR=$DESTDIR install
pascal@1177 34 }
pascal@1177 35
pascal@1177 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1177 37 genpkg_rules()
pascal@1177 38 {
pascal@1177 39 mkdir -p $fs/usr/lib
Hans-G?nter@22944 40
Hans-G?nter@22944 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22944 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22944 43 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@1177 44 }