wok-next annotate 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 |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="expat" |
erkan@21288 | 4 VERSION="2.2.9" |
pankso@34 | 5 CATEGORY="x-window" |
al@17992 | 6 SHORT_DESC="XML parsing C library" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15588 | 8 LICENSE="MIT" |
al@19741 | 9 WEB_SITE="https://libexpat.github.io/" |
al@20896 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/expat.html" |
al@19572 | 11 |
al@19572 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@34 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@34 | 14 |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@19741 | 16 |
al@20436 | 17 compile_rules() { |
al@19572 | 18 ./configure \ |
al@19572 | 19 --disable-static \ |
al@19572 | 20 $CONFIGURE_ARGS && |
al@20569 | 21 fix libtool && |
al@20569 | 22 make && |
al@20965 | 23 make install || return 1 |
al@19572 | 24 |
al@20436 | 25 cook_pick_docs doc/*.html doc/*.css doc/*.png |
pankso@34 | 26 } |
pankso@34 | 27 |
al@20436 | 28 genpkg_rules() { |
al@19741 | 29 case $PACKAGE in |
al@20436 | 30 expat) |
al@20436 | 31 copy @std |
al@20436 | 32 TAGS="LFS" |
al@20436 | 33 ;; |
al@20436 | 34 *-dev) copy @dev;; |
al@19741 | 35 esac |
pankso@34 | 36 } |