SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libupnp"

# SliTaz package receipt.

PACKAGE="libupnp"
VERSION="1.14.12"
CATEGORY="network"
SHORT_DESC="The portable Universal Plug and Play (UPnP)."
MAINTAINER="pankso@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://github.com/pupnp/pupnp"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://github.com/pupnp/pupnp/releases/download/release-$VERSION/$TARBALL"

DEPENDS="libxml2"
BUILD_DEPENDS="libpthread-stubs libxml2-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --disable-largefile    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)