distribution/packages/network/libshairplay/package.mk

23 lines
802 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libshairplay"
PKG_VERSION="096b61ad14c90169f438e690d096e3fcf87e504e"
PKG_SHA256="7e2b013ffe75ea2f13fb12b1aa38b8e2e8b1899ac292d57f05d7b352a3a181cf"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/juhovh/shairplay"
2023-02-24 13:53:43 +00:00
PKG_URL="https://github.com/juhovh/shairplay/archive/${PKG_VERSION}.tar.gz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain avahi"
PKG_LONGDESC="Apple airplay and raop protocol server"
PKG_TOOLCHAIN="autotools"
pre_configure_target() {
2023-02-24 13:53:43 +00:00
CFLAGS="${CFLAGS} -I$(get_build_dir avahi)/avahi-compat-libdns_sd"
2022-02-05 14:23:32 +00:00
}
post_makeinstall_target() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/etc/shairplay
cp -P ../airport.key ${INSTALL}/etc/shairplay
2022-02-05 14:23:32 +00:00
}