summaryrefslogtreecommitdiffstats
path: root/package/libupnpp
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-10-21 22:11:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-22 22:33:43 +0200
commit98913307bc7a784469e9868993f7ac0506d33e07 (patch)
treed8df11dde2ff5840984240cf43249506d4d138d1 /package/libupnpp
parent8117608a3f6f8fc7c3ce9124ecf20c0e14ddefeb (diff)
libupnpp: new package
[Thomas: adjust dependencies on the comment.] Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libupnpp')
-rw-r--r--package/libupnpp/Config.in23
-rw-r--r--package/libupnpp/libupnpp.mk14
2 files changed, 37 insertions, 0 deletions
diff --git a/package/libupnpp/Config.in b/package/libupnpp/Config.in
new file mode 100644
index 000000000..5a48f979a
--- /dev/null
+++ b/package/libupnpp/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_LIBUPNPP
+ bool "libupnpp"
+ select BR2_PACKAGE_EXPAT
+ select BR2_PACKAGE_LIBCURL
+ select BR2_PACKAGE_LIBUPNP
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_LARGEFILE # libupnp
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 # Too old gcc
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 # Ditto
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 # Ditto
+ help
+ The libupnpp C++ library wraps libupnp for easier use by upmpdcli and
+ upplay.
+
+ http://www.lesbonscomptes.com/upmpdcli/
+
+comment "libupnpp needs a toolchain w/ C++, largefile, threads"
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 # Too old gcc
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 # Ditto
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 # Ditto
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || \
+ !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/libupnpp/libupnpp.mk b/package/libupnpp/libupnpp.mk
new file mode 100644
index 000000000..d46de1402
--- /dev/null
+++ b/package/libupnpp/libupnpp.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libupnpp
+#
+################################################################################
+
+LIBUPNPP_VERSION = 0.8.5
+LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
+LIBUPNPP_LICENSE = GPLv2+
+LIBUPNPP_LICENSE_FILES = COPYING
+LIBUPNPP_INSTALL_STAGING = YES
+LIBUPNPP_DEPENDENCIES = expat libcurl libupnp
+
+$(eval $(autotools-package))