include Config
-VER = 3.2.2
+SUMMARY = An AirPlay audio player
+
+VER = 3.3.8
THISAPP = shairport-sync-$(VER)
DL_FILE = $(THISAPP).tar.gz
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = shairport-sync
-PAK_VER = 1
+PAK_VER = 6
+
+DEPS = alac alsa avahi libdaemon soxr
-DEPS = "alsa avahi soxr"
+SERVICES = shairport-sync
###############################################################################
# Top-level Rules
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = caf8a381b0623273de37a2c947703c50
+$(DL_FILE)_BLAKE2 = adaaef3a65d3ffccda2ba3ed324312fe5e95db00f2ae2c67afd49a43e6e5c8517d7eeb751f0b663a1e75a470f1cfcd9547e26bd11fa095565ba048d98465dcd8
install : $(TARGET)
download :$(patsubst %,$(DIR_DL)/%,$(objects))
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
-dist:
+dist:
@$(PAK)
###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+ @$(B2SUM)
###############################################################################
# Installation Details
--prefix=/usr \
--sysconfdir=/etc \
--with-alsa \
+ --with-apple-alac \
--with-avahi \
- --with-ssl=openssl
+ --with-libdaemon \
+ --with-ssl=openssl \
+ --with-soxr
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
install -v -m 644 $(DIR_SRC)/config/backup/includes/shairport-sync \
/var/ipfire/backup/addons/includes/shairport-sync
+ # Initscript
+ $(call INSTALL_INITSCRIPTS,$(SERVICES))
+
@rm -rf $(DIR_APP)
@$(POSTBUILD)