wok view expat/receipt @ rev 22400

update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...) -> also, new site: the WGET_URL could be improved
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 08 11:10:33 2019 +0000 (13 months ago)
parents baa7232f49c4
children b7d873a39ce7
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.2.9"
5 VERSION_UNDERSCORE="2_2_9"
6 CATEGORY="x-window"
7 SHORT_DESC="XML parsing C library"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://libexpat.github.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_$VERSION_UNDERSCORE/$TARBALL"
16 HOST_ARCH="i486 arm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS &&
22 make -j 1 &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/bin
30 cp -a $install/usr/bin/* $fs/usr/bin
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 # expat so.0 symbolic link.
33 cd $fs/usr/lib
34 ln -s libexpat.so.1.*.* libexpat.so.0
35 }