Skip to content

Instantly share code, notes, and snippets.

@CvH
Last active July 10, 2017 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CvH/8f7a6baa3b51a820d230d5ff46504c39 to your computer and use it in GitHub Desktop.
Save CvH/8f7a6baa3b51a820d230d5ff46504c39 to your computer and use it in GitHub Desktop.
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="script.module.tvh2kodi"
PKG_VERSION="c4c3139"
PKG_REV="100"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/edit4ever/script.module.tvh2kodi"
PKG_URL="https://github.com/edit4ever/script.module.tvh2kodi/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="xmlstarlet:host"
PKG_SECTION=""
PKG_SHORTDESC="Tvh2Kodi provides access to basic Tvheadend server settings from the Kodi interface."
PKG_LONGDESC="Tvh2Kodi provides access to basic Tvheadend server settings from the Kodi interface."
PKG_AUTORECONF="no"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="dummy"
make_target() {
# not sure this is needed
$SED -e "s|@ADDON_VERSION@|$ADDON_VERSION.$PKG_REV|g" \
-e "s|@OS_VERSION@|$OS_VERSION|g" \
-i addon.xml
}
makeinstall_target() {
:
}
addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID
cp -PR $PKG_BUILD/* $ADDON_BUILD/$PKG_ADDON_ID
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment