wok-current annotate expat/receipt @ rev 24269

updated perl-xml-rss (1.61 -> 1.62)
author Hans-G?nter Theisgen
date Sun Jan 02 10:37:59 2022 +0100 (2022-01-02)
parents b7d873a39ce7
children 3615521be14e
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="expat"
erkan@22400 4 VERSION="2.2.9"
pankso@34 5 CATEGORY="x-window"
al@17992 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@20900 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erkan@22401 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@20900 13
pankso@12822 14 HOST_ARCH="i486 arm"
pankso@34 15
pascal@24069 16 current_version()
pascal@24069 17 {
pascal@24069 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24069 19 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
pascal@24069 20 }
pascal@24069 21
pankso@34 22 # Rules to configure and make the package.
pankso@34 23 compile_rules()
pankso@34 24 {
pankso@12822 25 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@20900 26 make -j 1 &&
Hans-G?nter@20900 27 make DESTDIR=$DESTDIR install
pankso@34 28 }
pankso@34 29
pankso@34 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 31 genpkg_rules()
pankso@34 32 {
pankso@34 33 mkdir -p $fs/usr/lib $fs/usr/bin
al@17992 34 cp -a $install/usr/bin/* $fs/usr/bin
al@17992 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@17992 36 # expat so.0 symbolic link.
al@17992 37 cd $fs/usr/lib
al@17992 38 ln -s libexpat.so.1.*.* libexpat.so.0
pankso@34 39 }