Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= squeezelite
  5. # git hash f2b5e89c1ea3904498cd8649a146c2aa1a748996
  6. # from https://code.google.com/p/squeezelite/
  7. PKG_VERSION:= 1.6.5
  8. PKG_RELEASE:= 1
  9. PKG_HASH:= 26ba3220b5e3c029feffadd15905296551898ff6953098d05bc7e6598e0cf93b
  10. PKG_DESCR:= headless squeezebox emulator
  11. PKG_SECTION:= mm/audio
  12. PKG_DEPENDS:= libflac alsa-lib libvorbis libmad
  13. PKG_DEPENDS+= libpthread librt libfaad2
  14. PKG_BUILDDEP:= alsa-lib libmad flac libvorbis mpg123
  15. PKG_BUILDDEP+= faad2
  16. PKG_URL:= http://code.google.com/p/squeezelite/
  17. PKG_SITES:= http://openadk.org/distfiles/
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,SQUEEZELITE,squeezelite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
  21. TARGET_LDFLAGS+= -ldl
  22. CONFIG_STYLE:= manual
  23. INSTALL_STYLE:= manual
  24. squeezelite-install:
  25. $(INSTALL_DIR) $(IDIR_SQUEEZELITE)/usr/bin
  26. $(INSTALL_BIN) $(WRKBUILD)/squeezelite \
  27. $(IDIR_SQUEEZELITE)/usr/bin
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk