mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #7157 from heitbaum/xxd
shairport-sync: add missing build dependency: xxd
This commit is contained in:
commit
9613f5ae4d
@ -7,7 +7,7 @@ PKG_SHA256="951fc9f33a631736fe49d2ed040b27a417c93ffdf05a2d13116c6dda7628ea86"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://github.com/mikebrady/shairport-sync"
|
||||
PKG_URL="https://github.com/mikebrady/shairport-sync/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib avahi ffmpeg libconfig libdaemon libgcrypt libplist libsndfile libsodium nqptp openssl popt pulseaudio soxr util-linux"
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib avahi ffmpeg libconfig libdaemon libgcrypt libplist libsndfile libsodium nqptp openssl popt pulseaudio soxr util-linux xxd:host"
|
||||
PKG_LONGDESC="AirPlay audio player."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
26
packages/devel/xxd/package.mk
Normal file
26
packages/devel/xxd/package.mk
Normal file
@ -0,0 +1,26 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="xxd"
|
||||
PKG_VERSION="$(get_pkg_version vim)"
|
||||
PKG_LICENSE="VIM"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_HOST="toolchain:host"
|
||||
PKG_DEPENDS_UNPACK+=" vim"
|
||||
PKG_LONGDESC="make a hexdump or do the reverse"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/vim/vim-${PKG_VERSION}.tar.gz -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
make_host() {
|
||||
${HOST_CXX} -x c -std=c11 -O3 -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion ../src/xxd/xxd.c -o xxd
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p ${TOOLCHAIN}/bin
|
||||
cp -p xxd ${TOOLCHAIN}/bin
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user