mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
shairplay: Move to sound menu and sub-directory
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
#
|
||||
# Copyright (C) 2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=shairplay
|
||||
PKG_VERSION:=2014-10-27
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=git://github.com/juhovh/shairplay.git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=64d59e3087f829006d091fa0d114efb50972a2bf
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
define Package/shairplay
|
||||
SECTION:=sound
|
||||
CATEGORY:=Sound
|
||||
DEPENDS:=+libao +libavahi-compat-libdnssd +libltdl +libpthread
|
||||
TITLE:=Shairplay
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
|
||||
./autogen.sh;)
|
||||
$(call Build/Configure/Default)
|
||||
endef
|
||||
|
||||
define Package/shairplay/description
|
||||
Free portable AirPlay server implementation similar to ShairPort.
|
||||
endef
|
||||
|
||||
define Package/shairplay/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/shairplay $(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/usr/share/shairplay
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/airport.key $(1)/usr/share/shairplay/
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) files/shairplay.init $(1)/etc/init.d/shairplay
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) files/shairplay.config $(1)/etc/config/shairplay
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,shairplay))
|
||||
Reference in New Issue
Block a user