wok-stable annotate xalan-c/receipt @ rev 8524
.jar is now handled by tazwok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 03:22:30 2011 +0100 (2011-02-13) |
parents | 5bebc54eaff7 |
children | 3e5f4a16c6dd |
rev | line source |
---|---|
rcx@3472 | 1 # SliTaz package receipt. |
rcx@3472 | 2 |
rcx@3472 | 3 PACKAGE="xalan-c" |
rcx@3472 | 4 VERSION="1.10.0-r705082" |
rcx@3472 | 5 CATEGORY="development" |
rcx@3472 | 6 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types." |
rcx@3472 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@5032 | 8 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu" |
rcx@3472 | 9 BUILD_DEPENDS="slitaz-toolchain xerces-c xerces-c-dev" |
rcx@3472 | 10 TARBALL="Xalan-C_r705082-src.tar.gz" |
rcx@3472 | 11 WEB_SITE="http://xalan.apache.org/" |
rcx@3472 | 12 # Need to use the patched r705082 version on Gentoo's mirrors |
rcx@3472 | 13 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" |
rcx@3472 | 14 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" |
rcx@3472 | 15 |
rcx@3472 | 16 # Rules to configure and make the package. |
rcx@3472 | 17 compile_rules() |
rcx@3472 | 18 { |
rcx@3472 | 19 cd $src |
gokhlayeh@8228 | 20 mv c/* . && rm -r c |
rcx@3472 | 21 |
rcx@3472 | 22 export XERCESCROOT=/usr |
rcx@3472 | 23 export XALANCROOT=$src |
rcx@3472 | 24 |
rcx@3472 | 25 ./runConfigure -p linux -c gcc -x g++ -P /usr \ |
rcx@3472 | 26 -C --build=$BUILD_HOST -C --host=$BUILD_HOST && |
gokhlayeh@8263 | 27 make -j1 && |
gokhlayeh@8228 | 28 make install |
rcx@3472 | 29 } |
rcx@3472 | 30 |
rcx@3472 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3472 | 32 genpkg_rules() |
rcx@3472 | 33 { |
rcx@3472 | 34 mkdir -p $fs/usr/lib |
rcx@3472 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3472 | 36 |
rcx@3472 | 37 cp -a $_pkg/usr/bin $fs/usr |
rcx@3472 | 38 } |