wok-current annotate expat/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (5 days ago) |
parents | c7d4cd0674c4 |
children |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="expat" |
shann@25687 | 4 VERSION="2.6.2" |
pankso@34 | 5 CATEGORY="x-window" |
Hans-G?nter@24532 | 6 SHORT_DESC="XML parsing C library." |
pankso@34 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 8 LICENSE="MIT" |
erkan@22400 | 9 WEB_SITE="https://libexpat.github.io/" |
Hans-G?nter@20900 | 10 |
Hans-G?nter@24532 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24532 | 12 WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/$TARBALL" |
Hans-G?nter@20900 | 13 |
shann@25728 | 14 HOST_ARCH="i486 arm x86_64" |
pankso@34 | 15 |
pascal@25464 | 16 # What is the latest version available today? |
pascal@24069 | 17 current_version() |
pascal@24069 | 18 { |
pascal@24069 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24069 | 20 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q' |
pascal@24069 | 21 } |
pascal@24069 | 22 |
pankso@34 | 23 # Rules to configure and make the package. |
pankso@34 | 24 compile_rules() |
pankso@34 | 25 { |
pankso@12822 | 26 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24532 | 27 make && |
Hans-G?nter@24532 | 28 make install DESTDIR=$DESTDIR |
pankso@34 | 29 } |
pankso@34 | 30 |
pankso@34 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 32 genpkg_rules() |
pankso@34 | 33 { |
Hans-G?nter@24532 | 34 cook_copy_folders bin |
Hans-G?nter@24532 | 35 cook_copy_files *.so* |
Hans-G?nter@24532 | 36 |
al@17992 | 37 # expat so.0 symbolic link. |
al@17992 | 38 cd $fs/usr/lib |
al@17992 | 39 ln -s libexpat.so.1.*.* libexpat.so.0 |
pankso@34 | 40 } |