From df755485fffd5b5de0035387279ab83582a91909 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 2 Jan 2012 15:46:51 +0100 Subject: [PATCH] dvbhdhomerun: add missing license header, cosmetics Signed-off-by: Stephan Raue --- packages/3rdparty/driver/dvbhdhomerun/build | 28 ++++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/packages/3rdparty/driver/dvbhdhomerun/build b/packages/3rdparty/driver/dvbhdhomerun/build index 29a695c40b..ac68dc651e 100755 --- a/packages/3rdparty/driver/dvbhdhomerun/build +++ b/packages/3rdparty/driver/dvbhdhomerun/build @@ -1,13 +1,33 @@ #!/bin/sh +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program 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, or (at your option) +# any later version. +# +# This Program 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.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + . config/options $1 # absolute path -LIBHDHOMERUN_PATH=$(ls -d $ROOT/$BUILD/libhdhomerun_*/) + LIBHDHOMERUN_PATH=$(ls -d $ROOT/$BUILD/libhdhomerun_*/) cd $PKG_BUILD/userhdhomerun -sed -i "s|SET(LIBHDHOMERUN_PATH .*)|SET(LIBHDHOMERUN_PATH $LIBHDHOMERUN_PATH)|g" CMakeLists.txt -sed -i "s|/etc/dvbhdhomerun|/tmp/dvbhdhomerun|g" hdhomerun_tuner.cpp + sed -i "s|SET(LIBHDHOMERUN_PATH .*)|SET(LIBHDHOMERUN_PATH $LIBHDHOMERUN_PATH)|g" CMakeLists.txt + sed -i "s|/etc/dvbhdhomerun|/tmp/dvbhdhomerun|g" hdhomerun_tuner.cpp -make LDFLAGS="-lpthread" + make LDFLAGS="-lpthread"