Makefile 844 B

12345678910111213141516171819202122232425262728293031
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= libupnp
  7. PKG_VERSION:= 1.6.6
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 8918dcf7428cd119d0c8275765ff2833
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBUPNP,libupnp,${PKG_VERSION}-${PKG_RELEASE}))
  14. CONFIGURE_STYLE:= autotool gnu
  15. CONFIGURE_ARGS+= --disable-samples
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto confprog
  18. post-build:
  19. sed -i -e 's#^libdir=.*#libdir=#' ${WRKBUILD}/threadutil/libthreadutil.la
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBUPNP}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBUPNP}/usr/lib/
  23. include ${TOPDIR}/mk/pkg-bottom.mk