mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-07 10:18:21 +00:00
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
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="vdr-plugin-xmltv2vdr"
|
|
PKG_VERSION="0.2.3"
|
|
PKG_SHA256="e543f2ce175960a6664d6c06dd3c9dc89c15599e144c0c8551efd66368293579"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://projects.vdr-developer.org/projects/plg-xmltv2vdr"
|
|
PKG_URL="https://github.com/vdr-projects/vdr-plugin-xmltv2vdr/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain vdr sqlite openssl curl libzip libxml2 libxslt enca"
|
|
PKG_NEED_UNPACK="$(get_pkg_directory vdr)"
|
|
PKG_LONGDESC="xmltv2vdr imports data in xmltv format"
|
|
PKG_TOOLCHAIN="manual"
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
pre_configure_target() {
|
|
export CXXFLAGS="${CXXFLAGS} -Wno-narrowing"
|
|
export LIBS="-L${SYSROOT_PREFIX}/usr/lib/iconv -lssl -lcrypto -lbz2"
|
|
}
|
|
|
|
make_target() {
|
|
VDR_DIR=$(get_build_dir vdr)
|
|
make VDRDIR=${VDR_DIR} \
|
|
LIBDIR="." \
|
|
LOCALEDIR="./locale" \
|
|
install
|
|
}
|
|
|
|
post_make_target() {
|
|
cd dist/epgdata2xmltv
|
|
make -j1
|
|
cd -
|
|
${STRIP} dist/epgdata2xmltv/epgdata2xmltv
|
|
}
|