diff options
Diffstat (limited to 'package/libupnp')
-rw-r--r-- | package/libupnp/Config.in | 13 | ||||
-rw-r--r-- | package/libupnp/Makefile | 31 | ||||
-rw-r--r-- | package/libupnp/ipkg/libupnp.control | 5 | ||||
-rw-r--r-- | package/libupnp/patches/patch-configure_ac | 11 |
4 files changed, 60 insertions, 0 deletions
diff --git a/package/libupnp/Config.in b/package/libupnp/Config.in new file mode 100644 index 000000000..ad069b154 --- /dev/null +++ b/package/libupnp/Config.in @@ -0,0 +1,13 @@ +config ADK_PACKAGE_LIBUPNP + prompt "libupnp........................... Universal Plug and Play (UPnP) SDK library" + tristate + default n + help + The Universal Plug and Play (UPnP) SDK for Linux provides support + for building UPnP-compliant control points, devices, and bridges + on Linux. + + http://upnp.sourceforge.net/ + + Depends: libpthread + diff --git a/package/libupnp/Makefile b/package/libupnp/Makefile new file mode 100644 index 000000000..09e458f05 --- /dev/null +++ b/package/libupnp/Makefile @@ -0,0 +1,31 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= libupnp +PKG_VERSION:= 1.6.6 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 8918dcf7428cd119d0c8275765ff2833 +MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=pupnp/} +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBUPNP,libupnp,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE:= autotool gnu +CONFIGURE_ARGS+= --disable-samples +BUILD_STYLE:= auto +INSTALL_STYLE:= auto confprog + +post-build: + sed -i -e 's#^libdir=.*#libdir=#' ${WRKBUILD}/threadutil/libthreadutil.la + +post-install: + ${INSTALL_DIR} ${IDIR_LIBUPNP}/usr/lib + ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBUPNP}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libupnp/ipkg/libupnp.control b/package/libupnp/ipkg/libupnp.control new file mode 100644 index 000000000..2ebe4f7a8 --- /dev/null +++ b/package/libupnp/ipkg/libupnp.control @@ -0,0 +1,5 @@ +Package: libupnp +Priority: optional +Section: libs +Depends: libpthread +Description: The Universal Plug and Play (UPnP) SDK library. diff --git a/package/libupnp/patches/patch-configure_ac b/package/libupnp/patches/patch-configure_ac new file mode 100644 index 000000000..4bd55fdcc --- /dev/null +++ b/package/libupnp/patches/patch-configure_ac @@ -0,0 +1,11 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- libupnp-1.6.6.orig/configure.ac 2008-04-25 13:41:16.000000000 +0200 ++++ libupnp-1.6.6/configure.ac 2008-10-28 11:42:40.000000000 +0100 +@@ -343,7 +343,6 @@ AC_CHECK_HEADERS( + sys/ioctl.h \ + sys/socket.h \ + sys/time.h \ +- sys/timeb.h \ + syslog.h \ + unistd.h \ + ], |