Makefile 1.1 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= squeezelite
  5. PKG_VERSION:= 1.5
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 7605af4d64291495645f88575a564475
  8. PKG_DESCR:= headless squeezebox emulator
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libflac alsa-lib libvorbis libmad
  11. PKG_DEPENDS+= libpthread librt libfaad2
  12. PKG_BUILDDEP:= alsa-lib libmad flac libvorbis mpg123
  13. PKG_BUILDDEP+= faad2
  14. PKG_URL:= http://code.google.com/p/squeezelite/
  15. PKG_SITES:= http://openadk.org/distfiles/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. PKG_LIBC_DEPENDS:= glibc musl
  18. include $(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. CONFIG_STYLE:= manual
  22. INSTALL_STYLE:= manual
  23. squeezelite-install:
  24. $(INSTALL_DIR) $(IDIR_SQUEEZELITE)/usr/bin
  25. $(INSTALL_BIN) $(WRKBUILD)/squeezelite \
  26. $(IDIR_SQUEEZELITE)/usr/bin
  27. include ${TOPDIR}/mk/pkg-bottom.mk