diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/squeezelite/Makefile | 30 | ||||
-rw-r--r-- | package/squeezelite/patches/patch-Makefile | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/package/squeezelite/Makefile b/package/squeezelite/Makefile new file mode 100644 index 000000000..ec06e3d04 --- /dev/null +++ b/package/squeezelite/Makefile @@ -0,0 +1,30 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= squeezelite +PKG_VERSION:= 1.5 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 7605af4d64291495645f88575a564475 +PKG_DESCR:= headless squeezebox emulator +PKG_SECTION:= multimedia +PKG_DEPENDS:= libflac alsa-lib libvorbis libmad +PKG_DEPENDS+= libpthread librt +PKG_BUILDDEP:= alsa-lib +PKG_URL:= http://code.google.com/p/squeezelite/ +PKG_SITES:= http://openadk.org/distfiles/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,SQUEEZELITE,squeezelite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= manual +INSTALL_STYLE:= manual + +squeezelite-install: + $(INSTALL_DIR) $(IDIR_SQUEEZELITE)/usr/bin + $(INSTALL_BIN) $(WRKBUILD)/squeezelite \ + $(IDIR_SQUEEZELITE)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/squeezelite/patches/patch-Makefile b/package/squeezelite/patches/patch-Makefile new file mode 100644 index 000000000..388c8ab31 --- /dev/null +++ b/package/squeezelite/patches/patch-Makefile @@ -0,0 +1,11 @@ +--- squeezelite-1.5.orig/Makefile 2014-01-24 11:24:16.000000000 +0100 ++++ squeezelite-1.5/Makefile 2014-01-24 17:37:36.841831508 +0100 +@@ -1,6 +1,7 @@ + # Cross compile support - create a Makefile which defines these three variables and then includes this Makefile... + CFLAGS ?= -Wall -fPIC -O2 $(OPTS) +-LDFLAGS ?= -lasound -lpthread -lm -lrt ++LDFLAGS ?= ++LDFLAGS += -lasound -lpthread -lm -lrt + EXECUTABLE ?= squeezelite + + # passing one or more of these in $(OPTS) enables optional feature inclusion |