wok annotate expat/receipt @ rev 25734

updated sc-im (-> 0.8.4)
author Hans-G?nter Theisgen
date Thu Aug 22 14:48:42 2024 +0100 (2 months ago)
parents dd880df75ff5
children
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="expat"
pascal@25659 4 VERSION="2.6.0"
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
pascal@25659 14 BUILD_DEPENDS="gcc83"
pascal@25659 15
pankso@12822 16 HOST_ARCH="i486 arm"
pankso@34 17
pascal@25464 18 # What is the latest version available today?
pascal@24069 19 current_version()
pascal@24069 20 {
pascal@24069 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24069 22 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
pascal@24069 23 }
pascal@24069 24
pankso@34 25 # Rules to configure and make the package.
pankso@34 26 compile_rules()
pankso@34 27 {
pascal@25659 28 ./configure \
pascal@25659 29 CC=gcc-83 \
pascal@25659 30 CXX=g++-83 \
pascal@25659 31 $CONFIGURE_ARGS &&
Hans-G?nter@24532 32 make &&
Hans-G?nter@24532 33 make install DESTDIR=$DESTDIR
pankso@34 34 }
pankso@34 35
pankso@34 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 37 genpkg_rules()
pankso@34 38 {
Hans-G?nter@24532 39 cook_copy_folders bin
Hans-G?nter@24532 40 cook_copy_files *.so*
Hans-G?nter@24532 41
al@17992 42 # expat so.0 symbolic link.
al@17992 43 cd $fs/usr/lib
al@17992 44 ln -s libexpat.so.1.*.* libexpat.so.0
pankso@34 45 }