SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xerces-c"

# SliTaz package receipt.

PACKAGE="xerces-c"
VERSION="3.2.3"
CATEGORY="development"
SHORT_DESC="A validating XML parser written in a portable subset of C++."
MAINTAINER="rcx@zoominternet.net"
LICENSE="Apache"
WEB_SITE="https://xerces.apache.org/xerces-c/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/apache/xerces-c/archive/v$VERSION.tar.gz"

DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl"
BUILD_DEPENDS="automake"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./reconf
    ./configure $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib

    cp -a $install/usr/lib/*.so*    $fs/usr/lib
    cp -a $install/usr/bin        $fs/usr
}
6047 packages and 205722 files in current database (Sun Jun 16 09:23:30 2024)