Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= libupnp
  5. PKG_VERSION:= 1.6.19
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b3142b39601243b50532eec90f4a27dba85eb86f58d4b849ac94edeb29d9b22a
  8. PKG_DESCR:= universal plug and play sdk library
  9. PKG_SECTION:= libs/net
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://pupnp.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBUPNP,libupnp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. AUTOTOOL_STYLE:= autoreconf
  18. TARGET_CFLAGS+= -fPIC
  19. CONFIGURE_ARGS+= --disable-samples
  20. post-build:
  21. sed -i -e 's#^libdir=.*#libdir=#' \
  22. ${WRKBUILD}/threadutil/libthreadutil.la
  23. libupnp-install:
  24. ${INSTALL_DIR} ${IDIR_LIBUPNP}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBUPNP}/usr/lib
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk