wok view expat/receipt @ rev 25495

Up expat (2.5.0), CVE-2022-43680
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:14:28 2022 +0000 (16 months ago)
parents f234d4e2fdbd
children dd880df75ff5
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.5.0
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders bin
35 cook_copy_files *.so*
37 # expat so.0 symbolic link.
38 cd $fs/usr/lib
39 ln -s libexpat.so.1.*.* libexpat.so.0
40 }