distribution/packages/multimedia/libhdhomerun/package.mk

29 lines
958 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) 2016-present Team LibreELEC (https://libreelec.tv)
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2022-02-05 14:23:32 +00:00
PKG_NAME="libhdhomerun"
PKG_VERSION="bc207f2"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="LGPL"
PKG_SITE="http://www.silicondust.com"
PKG_URL="https://github.com/Silicondust/libhdhomerun/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="The library provides functionality to setup the HDHomeRun."
2023-02-24 13:53:43 +00:00
PKG_MAKE_OPTS_TARGET="CROSS_COMPILE=${TARGET_PREFIX}"
2022-02-05 14:23:32 +00:00
makeinstall_target() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/bin
cp -PR hdhomerun_config ${INSTALL}/usr/bin
2022-02-05 14:23:32 +00:00
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/lib/
cp -PR libhdhomerun.so ${INSTALL}/usr/lib/
2022-02-05 14:23:32 +00:00
2023-02-24 13:53:43 +00:00
mkdir -p ${SYSROOT_PREFIX}/usr/include/hdhomerun
cp *.h ${SYSROOT_PREFIX}/usr/include/hdhomerun
2022-02-05 14:23:32 +00:00
2023-02-24 13:53:43 +00:00
mkdir -p ${SYSROOT_PREFIX}/usr/lib
cp libhdhomerun.so ${SYSROOT_PREFIX}/usr/lib
2022-02-05 14:23:32 +00:00
}