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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= libupnp
  5. PKG_VERSION:= 1.6.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8918dcf7428cd119d0c8275765ff2833
  8. PKG_DESCR:= The Universal Plug and Play (UPnP) SDK library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://pupnp.sourceforge.net
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBUPNP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TCFLAGS+= -fPIC
  17. CONFIGURE_STYLE:= autotool gnu
  18. CONFIGURE_ARGS+= --disable-samples
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto confprog
  21. post-build:
  22. sed -i -e 's#^libdir=.*#libdir=#' ${WRKBUILD}/threadutil/libthreadutil.la
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_LIBUPNP}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBUPNP}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk