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 '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;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*
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)