wok-next annotate xalan-c/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents e9b3d0cd4c89
children
rev   line source
al@20463 1 # SliTaz package receipt v2.
rcx@3472 2
rcx@3472 3 PACKAGE="xalan-c"
al@20619 4 VERSION="1.11"
rcx@3472 5 CATEGORY="development"
al@20463 6 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, \
al@20463 7 or other XML document types"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@15579 9 LICENSE="Apache"
al@20463 10 WEB_SITE="http://xalan.apache.org/"
al@20463 11
al@20619 12 TARBALL="xalan_c-$VERSION-src.tar.gz"
al@20619 13 WGET_URL="http://www.eu.apache.org/dist/xalan/xalan-c/sources/$TARBALL"
rcx@3472 14
pascal@10456 15 BUILD_DEPENDS="xerces-c-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@10456 17
al@20463 18 compile_rules() {
rcx@3472 19 export XERCESCROOT=/usr
al@20619 20 export XALANCROOT=$src/c
al@20619 21 cd c
al@20463 22
al@20463 23 ./runConfigure \
al@20463 24 -p linux \
al@20463 25 -c gcc \
al@20463 26 -x g++ \
al@20463 27 -P /usr \
al@20463 28 -C --build=$HOST_SYSTEM \
al@20463 29 -C --host=$HOST_SYSTEM &&
gokhlayeh@8263 30 make -j1 &&
gokhlayeh@8228 31 make install
rcx@3472 32 }
rcx@3472 33
al@20463 34 genpkg_rules() {
al@20463 35 case $PACKAGE in
al@20463 36 xalan-c)
al@20619 37 copy @std
al@20619 38 DEPENDS="xerces-c"
al@20463 39 ;;
al@20463 40 *-dev)
al@20619 41 copy @dev
al@20463 42 ;;
al@20463 43 esac
rcx@3472 44 }