Files
haikuports/net-libs/libupnp/libupnp-1.6.22.recipe
2018-08-09 10:34:39 +02:00

78 lines
1.9 KiB
Bash

SUMMARY="Portable SDK for UPnP* Devices"
DESCRIPTION="The Portable SDK for UPnP Devices is an SDK for development of \
UPnP device and control point applications. It consists of the core UPnP \
protocols along with a UPnP-specific eXtensible Markup Language (XML) parser \
supporting the Document Object Model (DOM) Level 2 API and an optional, \
integrated mini web server for serving UPnP related documents."
HOMEPAGE="http://pupnp.sourceforge.net"
COPYRIGHT="2000-2003 Intel Corporation
2005-2006 Rémi Turboult
2006 Michel Pfeiffer and others"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="http://downloads.sourceforge.net/project/pupnp/pupnp/libUPnP%20$portVersion/libupnp-$portVersion.tar.bz2"
CHECKSUM_SHA256="0bdfacb7fa8d99b78343b550800ff193264f92c66ef67852f87f042fd1a1ebbc"
PATCHES="libupnp-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libupnp$secondaryArchSuffix = $portVersion
lib:libixml$secondaryArchSuffix = 2.0.8 compat >= 2
lib:libthreadutil$secondaryArchSuffix = 6.0.4 compat >= 6
lib:libupnp$secondaryArchSuffix = 6.3.6 compat >= 6
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libupnp${secondaryArchSuffix}_devel = $portVersion
devel:libixml$secondaryArchSuffix = 2.0.8 compat >= 2
devel:libthreadutil$secondaryArchSuffix = 6.0.4 compat >= 6
devel:libupnp$secondaryArchSuffix = 6.3.6 compat >= 6
"
REQUIRES_devel="
libupnp$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make
}
INSTALL()
{
make install
rm $libDir/lib*.la
# prepare development lib links
prepareInstalledDevelLibs libupnp libixml libthreadutil
fixPkgconfig
# devel package
packageEntries devel $developDir
}
TEST()
{
make check
}