wok-current annotate xerces-c/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (22 months ago) |
parents | bd7510903310 |
children |
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@25487 | 12 WGET_URL="https://github.com/apache/xerces-c/archive/v$VERSION.tar.gz" |
rcx@3471 | 13 |
Hans-G?nter@22160 | 14 DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl" |
pascal@25487 | 15 BUILD_DEPENDS="automake" |
pascal@15579 | 16 |
pascal@24465 | 17 # What is the latest version available today? |
pascal@24465 | 18 current_version() |
pascal@24465 | 19 { |
pascal@25487 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25487 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24465 | 22 } |
pascal@24465 | 23 |
rcx@3471 | 24 # Rules to configure and make the package. |
rcx@3471 | 25 compile_rules() |
rcx@3471 | 26 { |
pascal@25487 | 27 ./reconf |
gokhlayeh@11573 | 28 ./configure $CONFIGURE_ARGS && |
gokhlayeh@11573 | 29 make $MAKEFLAGS && |
slaxemulator@8987 | 30 make install |
rcx@3471 | 31 } |
rcx@3471 | 32 |
rcx@3471 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3471 | 34 genpkg_rules() |
rcx@3471 | 35 { |
rcx@3471 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@22160 | 37 |
Hans-G?nter@22160 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22160 | 39 cp -a $install/usr/bin $fs/usr |
rcx@3471 | 40 } |