Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= taglib
  5. PKG_VERSION:= 1.9.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 72d371cd1419a87ae200447a53bff2be219283071e80fd12337928cc967dc71a
  8. PKG_DESCR:= audio meta-data library
  9. PKG_SECTION:= libs/audio
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDDEP:= cmake-host zlib
  12. PKG_URL:= http://taglib.github.com/
  13. PKG_SITES:= http://taglib.github.io/releases/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,TAGLIB,taglib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIG_STYLE:= manual
  19. do-configure:
  20. (cd ${WRKBUILD} && PATH='${HOST_PATH}' \
  21. cmake -DZLIB_ROOT=$(STAGING_TARGET_DIR)/usr \
  22. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
  23. -DCMAKE_SYSTEM_NAME=Linux .)
  24. taglib-install:
  25. $(INSTALL_DIR) $(IDIR_TAGLIB)/usr/lib
  26. $(CP) $(WRKINST)/usr/lib/libtag*.so* \
  27. $(IDIR_TAGLIB)/usr/lib
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk