wok-6.x annotate 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 (2019-12-08) |
parents | baa7232f49c4 |
children | b7d873a39ce7 |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="expat" |
erkan@22400 | 4 VERSION="2.2.9" |
erkan@22400 | 5 VERSION_UNDERSCORE="2_2_9" |
pankso@34 | 6 CATEGORY="x-window" |
al@17992 | 7 SHORT_DESC="XML parsing C library" |
pankso@34 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 9 LICENSE="MIT" |
erkan@22400 | 10 WEB_SITE="https://libexpat.github.io/" |
Hans-G?nter@20900 | 11 |
Hans-G?nter@20900 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erkan@22400 | 13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
erkan@22400 | 14 WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_$VERSION_UNDERSCORE/$TARBALL" |
Hans-G?nter@20900 | 15 |
pankso@12822 | 16 HOST_ARCH="i486 arm" |
pankso@34 | 17 |
pankso@34 | 18 # Rules to configure and make the package. |
pankso@34 | 19 compile_rules() |
pankso@34 | 20 { |
pankso@12822 | 21 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@20900 | 22 make -j 1 && |
Hans-G?nter@20900 | 23 make DESTDIR=$DESTDIR install |
pankso@34 | 24 } |
pankso@34 | 25 |
pankso@34 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 27 genpkg_rules() |
pankso@34 | 28 { |
pankso@34 | 29 mkdir -p $fs/usr/lib $fs/usr/bin |
al@17992 | 30 cp -a $install/usr/bin/* $fs/usr/bin |
al@17992 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@17992 | 32 # expat so.0 symbolic link. |
al@17992 | 33 cd $fs/usr/lib |
al@17992 | 34 ln -s libexpat.so.1.*.* libexpat.so.0 |
pankso@34 | 35 } |