SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xalan-c"

# SliTaz package receipt.

PACKAGE="xalan-c"
VERSION="1.10.0-r705082"
CATEGORY="development"
SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types."
MAINTAINER="rcx@zoominternet.net"
TARBALL="Xalan-C_r705082-src.tar.gz"
WEB_SITE="http://xalan.apache.org/"
# Need to use the patched r705082 version on Gentoo's mirrors
# Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"

DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
BUILD_DEPENDS="xerces-c-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    mv c/* . && rm -r c
    
    export XERCESCROOT=/usr
    export XALANCROOT=$src
    
    ./runConfigure -p linux -c gcc -x g++ -P /usr \
        -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM &&
    make -j1 &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    
    cp -a $_pkg/usr/bin $fs/usr
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)