Makefile 1.3 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= libmpdclient
  5. PKG_VERSION:= 2.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a157c1eb70502f1da8097477104e719e
  8. PKG_DESCR:= library for interfacing MPD
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://mpd.wikia.com/wiki/ClientLib:libmpdclient
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
  12. PKG_SUBPKGS:= LIBMPDCLIENT LIBMPDCLIENT_DEV
  13. PKGSD_LIBMPDCLIENT_DEV:=headers for interfacing MPD
  14. PKGSC_LIBMPDCLIENT_DEV:=devel
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBMPDCLIENT_DEV,libmpdclient-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBMPDCLIENT_DEV},${PKGSC_LIBMPDCLIENT_DEV}))
  18. libmpdclient-install:
  19. $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \
  21. $(IDIR_LIBMPDCLIENT)/usr/lib
  22. libmpdclient-dev-install:
  23. $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT_DEV)/usr/include
  24. ${CP} $(WRKINST)/usr/include/* \
  25. $(IDIR_LIBMPDCLIENT_DEV)/usr/include
  26. $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT_DEV)/usr/lib/pkgconfig
  27. $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
  28. $(IDIR_LIBMPDCLIENT_DEV)/usr/lib/pkgconfig
  29. include ${TOPDIR}/mk/pkg-bottom.mk