SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libnxml"

# SliTaz package receipt.

PACKAGE="libnxml"
VERSION="0.18.3"
CATEGORY="libs"
SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams."
MAINTAINER="tcg.thegamer@gmail.com"
LICENSE="LGPL2.1"
WEB_SITE="https://www.autistici.org/bakunin"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}"

DEPENDS=""
BUILD_DEPENDS="libcurl curl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/bakulf/libnxml/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS && make && 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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)