Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= libupnp
  5. PKG_VERSION:= 1.6.19
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ee16e5d33a3ea7506f38d71facc057dd
  8. PKG_DESCR:= universal plug and play sdk library
  9. PKG_SECTION:= libs/net
  10. PKG_BUILDDEP:= autotool
  11. PKG_DEPENDS:= libpthread
  12. PKG_URL:= http://pupnp.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBUPNP,libupnp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. TARGET_CFLAGS+= -fPIC
  20. CONFIGURE_ARGS+= --disable-samples
  21. post-build:
  22. sed -i -e 's#^libdir=.*#libdir=#' \
  23. ${WRKBUILD}/threadutil/libthreadutil.la
  24. libupnp-install:
  25. ${INSTALL_DIR} ${IDIR_LIBUPNP}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBUPNP}/usr/lib
  27. include ${TOPDIR}/mk/pkg-bottom.mk