Files
haikuports/net-libs/libupnp/libupnp-1.6.21.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +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="2"
SOURCE_URI="http://downloads.sourceforge.net/project/pupnp/pupnp/libUPnP%20$portVersion/libupnp-$portVersion.tar.bz2"
CHECKSUM_SHA256="af3f3c0846a1d75baeadae4aa5a2bda427567e2a1fb4559bf73ccff0a4f9a39b"
PATCHES="libupnp-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libupnp$secondaryArchSuffix = $portVersion
lib:libupnp$secondaryArchSuffix = 6.3.4 compat >= 6
lib:libixml$secondaryArchSuffix = 2.0.8 compat >= 2
lib:libthreadutil$secondaryArchSuffix = 6.0.4 compat >= 6
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libupnp${secondaryArchSuffix}_devel = $portVersion
devel:libupnp$secondaryArchSuffix = 6.3.4 compat >= 6
devel:libixml$secondaryArchSuffix = 2.0.8 compat >= 2
devel:libthreadutil$secondaryArchSuffix = 6.0.4 compat >= 6
"
REQUIRES_devel="
libupnp$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:automake
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
}