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"

HOST_ARCH="i486 x86_64"

# 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*
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)