libhdhomerun: rename sourcedir with $PKG_SOURCE_DIR to $PKG_NAME-$PKG_VERSION

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-12-05 01:10:30 +01:00
parent 6451a2d2c2
commit 657ebd0db2
5 changed files with 6 additions and 30 deletions

View File

@ -25,6 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.silicondust.com/products/hdhomerun/dvbt/"
PKG_URL="http://download.silicondust.com/hdhomerun/${PKG_NAME}_${PKG_VERSION}.tgz"
PKG_SOURCE_DIR="$PKG_NAME"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"

View File

@ -1,26 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
cd $BUILD
mv ${PKG_NAME} ${PKG_NAME}_${PKG_VERSION}

View File

@ -23,7 +23,7 @@
. config/options $1
# absolute path
LIBHDHOMERUN_PATH=$(ls -d $ROOT/$BUILD/libhdhomerun_*/)
LIBHDHOMERUN_PATH=$(ls -d $ROOT/$BUILD/libhdhomerun-*/)
cd $PKG_BUILD/userhdhomerun

View File

@ -29,7 +29,7 @@ mkdir -p $INSTALL/lib/modules/$KERNEL_VER/hdhomerun
mkdir -p $INSTALL/usr/sbin
cp -Pa $BUILD/dvbhdhomerun-*/userhdhomerun/build/userhdhomerun $INSTALL/usr/sbin
cp -Pa $BUILD/libhdhomerun_*/hdhomerun_config $INSTALL/usr/sbin
cp -Pa $BUILD/libhdhomerun-*/hdhomerun_config $INSTALL/usr/sbin
mkdir -p $INSTALL/lib/
cp -Pa $BUILD/libhdhomerun_*/libhdhomerun.so $INSTALL/lib/
cp -Pa $BUILD/libhdhomerun-*/libhdhomerun.so $INSTALL/lib/

View File

@ -25,7 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://sourceforge.net/projects/dvbhdhomerun/"
PKG_URL="${DISTRO_SRC}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
# PKG_URL="$SOURCEFORGE_SRC/project/dvbhdhomerun/${PKG_NAME}_${PKG_VERSION}.tar.gz"
#PKG_URL="$SOURCEFORGE_SRC/project/dvbhdhomerun/${PKG_NAME}_${PKG_VERSION}.tar.gz"
#PKG_SOURCE_DIR="${PKG_NAME}_${PKG_VERSION}"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain linux libhdhomerun"
PKG_PRIORITY="optional"