From 0edd73c47c39f1ad8993c6b83358fedcba78fbb5 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 9 Feb 2015 19:51:49 +0000 Subject: [PATCH] libupnp: added recipe for version 1.6.19 --- net-libs/libupnp/libupnp-1.6.19.recipe | 84 ++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 net-libs/libupnp/libupnp-1.6.19.recipe diff --git a/net-libs/libupnp/libupnp-1.6.19.recipe b/net-libs/libupnp/libupnp-1.6.19.recipe new file mode 100644 index 000000000..29644e047 --- /dev/null +++ b/net-libs/libupnp/libupnp-1.6.19.recipe @@ -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 + 2006 Michel Pfeiffer and others +" +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 + "