mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libupnp: added recipe for version 1.6.19
This commit is contained in:
84
net-libs/libupnp/libupnp-1.6.19.recipe
Normal file
84
net-libs/libupnp/libupnp-1.6.19.recipe
Normal file
@@ -0,0 +1,84 @@
|
||||
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"
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="
|
||||
2000-2003 Intel Corporation
|
||||
2005-2006 Rémi Turboult <r3mi@users.sourceforge.net>
|
||||
2006 Michel Pfeiffer and others <virtual_worlds@gmx.de>
|
||||
"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/pupnp/pupnp/libUPnP%20$portVersion/libupnp-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="b3142b39601243b50532eec90f4a27dba85eb86f58d4b849ac94edeb29d9b22a"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libupnp$secondaryArchSuffix = $portVersion
|
||||
lib:libupnp$secondaryArchSuffix = 6.3.3 compat >= 6
|
||||
lib:libixml$secondaryArchSuffix = 2.0.8 compat >= 2
|
||||
lib:libthreadutil$secondaryArchSuffix = 6.0.4 compat >= 6
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
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
|
||||
|
||||
# prepare development lib links
|
||||
prepareInstalledDevelLibs libupnp libixml libthreadutil
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libupnp${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libupnp$secondaryArchSuffix = 6.3.3 compat >= 6
|
||||
devel:libixml$secondaryArchSuffix = 2.0.8 compat >= 2
|
||||
devel:libthreadutil$secondaryArchSuffix = 6.0.4 compat >= 6
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libupnp$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user