diff --git a/packages/addons/driver/hdhomerun/addon b/packages/addons/driver/hdhomerun/addon deleted file mode 100755 index 4bc1e5a2d8..0000000000 --- a/packages/addons/driver/hdhomerun/addon +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ - -. config/options $1 - -mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/ - cp -P $PKG_DIR/config/* $ADDON_BUILD/$PKG_ADDON_ID/config/ - cp -P $PKG_DIR/settings-default.xml $ADDON_BUILD/$PKG_ADDON_ID/ diff --git a/packages/addons/driver/hdhomerun/meta b/packages/addons/driver/hdhomerun/package.mk similarity index 80% rename from packages/addons/driver/hdhomerun/meta rename to packages/addons/driver/hdhomerun/package.mk index 05563291f6..dd298a3f1f 100644 --- a/packages/addons/driver/hdhomerun/meta +++ b/packages/addons/driver/hdhomerun/package.mk @@ -23,8 +23,8 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.silicondust.com/products/hdhomerun/dvbt/" PKG_URL="" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="" +PKG_DEPENDS_TARGET="" +PKG_BUILD_DEPENDS_TARGET="" PKG_PRIORITY="optional" PKG_SECTION="driver/dvb" PKG_SHORTDESC="A linux DVB driver for the HDHomeRun (http://www.silicondust.com)." @@ -32,3 +32,17 @@ PKG_LONGDESC="A linux DVB driver for the HDHomeRun (http://www.silicondust.com). PKG_AUTORECONF="no" PKG_IS_ADDON="yes" PKG_ADDON_TYPE="xbmc.python.script" + +make_target() { + : # nothing to do here +} + +makeinstall_target() { + : # nothing to do here +} + +addon() { + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/ + cp -P $PKG_DIR/config/* $ADDON_BUILD/$PKG_ADDON_ID/config/ + cp -P $PKG_DIR/settings-default.xml $ADDON_BUILD/$PKG_ADDON_ID/ +}