1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 09:36:18 +00:00
Lakka-LibreELEC/packages/addons/addon-depends/libhdhomerun/package.mk
2021-12-27 14:00:27 +01:00

23 lines
814 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libhdhomerun"
PKG_VERSION="20210624"
PKG_SHA256="deaf463bbcc3eefa72f97199efb6213f7b0e2c8e91f1b3d2cbf52056a8715d15"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.silicondust.com"
PKG_URL="https://download.silicondust.com/hdhomerun/libhdhomerun_${PKG_VERSION}.tgz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="The library provides functionality to setup the HDHomeRun."
PKG_MAKE_OPTS_TARGET="CROSS_COMPILE=${TARGET_PREFIX}"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/include/hdhomerun
cp *.h ${SYSROOT_PREFIX}/usr/include/hdhomerun
mkdir -p ${SYSROOT_PREFIX}/usr/lib
cp libhdhomerun.a ${SYSROOT_PREFIX}/usr/lib
}