wok-current view expat/receipt @ rev 25671

Update expat (2.6.1) bugfix, openjpeg2 (2.5.2) CVE-2021-3575
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 03 12:04:29 2024 +0000 (8 months ago)
parents ecbd30859002
children c7d4cd0674c4
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.6.1"
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 }