Makefile 873 B

1234567891011121314151617181920212223242526272829
  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:= ympd
  5. PKG_VERSION:= ec008a4995666d673bd4cb3926fae7f4b6aa3239
  6. PKG_GIT:= hash
  7. PKG_RELEASE:= 4
  8. PKG_DESCR:= standalone music player daemon web gui
  9. PKG_SECTION:= net/http
  10. PKG_DEPENDS:= libmpdclient libressl
  11. PKG_BUILDDEP:= cmake-host libmpdclient libressl
  12. PKG_URL:= http://www.ympd.org/
  13. PKG_SITES:= https://github.com/notandy/ympd.git
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,YMPD,ympd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= cmake
  17. TARGET_CFLAGS+= -std=c99
  18. ympd-install:
  19. $(INSTALL_DIR) $(IDIR_YMPD)/usr/bin
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/ympd \
  21. $(IDIR_YMPD)/usr/bin
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk