wok-next annotate xerces-c/receipt @ rev 21307
updated hydra (7.3 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 10:07:48 2019 +0100 (2019-12-10) |
parents | e9b3d0cd4c89 |
children |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
rcx@3471 | 2 |
rcx@3471 | 3 PACKAGE="xerces-c" |
al@20619 | 4 VERSION="3.2.1" |
rcx@3471 | 5 CATEGORY="development" |
al@20459 | 6 SHORT_DESC="A validating XML parser written in a portable subset of C++" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15579 | 8 LICENSE="Apache" |
al@20619 | 9 WEB_SITE="http://xerces.apache.org/xerces-c/" |
al@20459 | 10 |
rcx@3471 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6362 | 12 WGET_URL="http://apache.osuosl.org/xerces/c/3/sources/$TARBALL" |
rcx@3471 | 13 |
al@21020 | 14 SPLIT="$PACKAGE-dev" |
pascal@15579 | 15 |
al@20459 | 16 compile_rules() { |
al@20619 | 17 case $ARCH in |
al@20619 | 18 i?86) ARCH_ARGS='--disable-sse2';; |
al@20619 | 19 *) ARCH_ARGS='';; |
al@20619 | 20 esac |
al@20619 | 21 |
al@20619 | 22 ./configure \ |
al@20619 | 23 $ARCH_ARGS \ |
al@20619 | 24 $CONFIGURE_ARGS && |
al@20604 | 25 fix libtool && |
gokhlayeh@11573 | 26 make $MAKEFLAGS && |
slaxemulator@8987 | 27 make install |
rcx@3471 | 28 } |
rcx@3471 | 29 |
al@20459 | 30 genpkg_rules() { |
al@20459 | 31 case $PACKAGE in |
al@20619 | 32 xerces-c) copy @std;; |
al@20619 | 33 *-dev) copy @dev;; |
al@20459 | 34 esac |
rcx@3471 | 35 } |