wok-current annotate xerces-c/receipt @ rev 25458

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 27 16:21:52 2022 +0000 (2022-09-27)
parents 535c806240cc
children ed5f25d05ff6
rev   line source
rcx@3471 1 # SliTaz package receipt.
rcx@3471 2
rcx@3471 3 PACKAGE="xerces-c"
Hans-G?nter@23746 4 VERSION="3.2.3"
rcx@3471 5 CATEGORY="development"
rcx@3471 6 SHORT_DESC="A validating XML parser written in a portable subset of C++."
rcx@3471 7 MAINTAINER="rcx@zoominternet.net"
pascal@15579 8 LICENSE="Apache"
Hans-G?nter@22160 9 WEB_SITE="https://xerces.apache.org/xerces-c/"
Hans-G?nter@22160 10
rcx@3471 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24972 12 WGET_URL="https://apache.org/dist/xerces/c/${VERSION%%.*}/sources/$TARBALL"
rcx@3471 13
Hans-G?nter@22160 14 DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl"
pascal@15579 15
pascal@24465 16 # What is the latest version available today?
pascal@24465 17 current_version()
pascal@24465 18 {
pascal@24465 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24465 20 sed '/available/!d;s|.*sion ||;s| is .*||;q'
pascal@24465 21 }
pascal@24465 22
rcx@3471 23 # Rules to configure and make the package.
rcx@3471 24 compile_rules()
rcx@3471 25 {
gokhlayeh@11573 26 ./configure $CONFIGURE_ARGS &&
gokhlayeh@11573 27 make $MAKEFLAGS &&
slaxemulator@8987 28 make install
rcx@3471 29 }
rcx@3471 30
rcx@3471 31 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3471 32 genpkg_rules()
rcx@3471 33 {
rcx@3471 34 mkdir -p $fs/usr/lib
Hans-G?nter@22160 35
Hans-G?nter@22160 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22160 37 cp -a $install/usr/bin $fs/usr
rcx@3471 38 }