Makefile 938 B

123456789101112131415161718192021222324252627282930
  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:= libmpdclient
  5. PKG_VERSION:= 2.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4b101a36e5c0cf967dc063391260ddbf
  8. PKG_DESCR:= library for interfacing MPD
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.musicpd.org/
  11. PKG_SITES:= http://www.musicpd.org/download/libmpdclient/2/
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
  17. CONFIGURE_ARGS+= --disable-documentation
  18. libmpdclient-install:
  19. $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \
  21. $(IDIR_LIBMPDCLIENT)/usr/lib
  22. include ${TOPDIR}/mk/pkg-bottom.mk