wok-current view expat/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 (2022-09-29) |
parents | 4b9f7978be6f |
children | f234d4e2fdbd |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.4.9"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libexpat.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/$TARBALL"
14 HOST_ARCH="i486 arm"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install DESTDIR=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders bin
34 cook_copy_files *.so*
36 # expat so.0 symbolic link.
37 cd $fs/usr/lib
38 ln -s libexpat.so.1.*.* libexpat.so.0
39 }