wok-stable annotate xalan-c/receipt @ rev 11248
Fix: midori build fixes and libnotify removal
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Nov 07 10:04:04 2011 +0000 (2011-11-07) |
parents | 0e59484220c7 |
children |
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" |
rcx@3472 | 8 TARBALL="Xalan-C_r705082-src.tar.gz" |
rcx@3472 | 9 WEB_SITE="http://xalan.apache.org/" |
rcx@3472 | 10 # Need to use the patched r705082 version on Gentoo's mirrors |
rcx@3472 | 11 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" |
rcx@3472 | 12 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" |
rcx@3472 | 13 |
pascal@10456 | 14 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu" |
pascal@10456 | 15 BUILD_DEPENDS="xerces-c-dev" |
pascal@10456 | 16 |
rcx@3472 | 17 # Rules to configure and make the package. |
rcx@3472 | 18 compile_rules() |
rcx@3472 | 19 { |
rcx@3472 | 20 cd $src |
gokhlayeh@8228 | 21 mv c/* . && rm -r c |
rcx@3472 | 22 |
rcx@3472 | 23 export XERCESCROOT=/usr |
rcx@3472 | 24 export XALANCROOT=$src |
rcx@3472 | 25 |
rcx@3472 | 26 ./runConfigure -p linux -c gcc -x g++ -P /usr \ |
slaxemulator@10424 | 27 -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM && |
gokhlayeh@8263 | 28 make -j1 && |
gokhlayeh@8228 | 29 make install |
rcx@3472 | 30 } |
rcx@3472 | 31 |
rcx@3472 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3472 | 33 genpkg_rules() |
rcx@3472 | 34 { |
rcx@3472 | 35 mkdir -p $fs/usr/lib |
rcx@3472 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3472 | 37 |
rcx@3472 | 38 cp -a $_pkg/usr/bin $fs/usr |
rcx@3472 | 39 } |