wok-next view expat/receipt @ rev 21288

update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...)
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 08 11:14:03 2019 +0000 (2019-12-08)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="expat"
4 VERSION="2.2.9"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libexpat.github.io/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/expat.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install || return 1
25 cook_pick_docs doc/*.html doc/*.css doc/*.png
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 expat)
31 copy @std
32 TAGS="LFS"
33 ;;
34 *-dev) copy @dev;;
35 esac
36 }