mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-06 01:17:49 +00:00
vdr-wirbelscan: convert to new package format.
This commit is contained in:
parent
790b8ac185
commit
1f92b19a4c
@ -1,33 +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
|
|
||||||
|
|
||||||
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
|
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -fPIC"
|
|
||||||
CXXFLAGS="$CXXFLAGS -fPIC"
|
|
||||||
LDFLAGS="$LDFLAGS -fPIC"
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
make VDRDIR="../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale"
|
|
||||||
|
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://wirbel.htpc-forum.de/wirbelscan/index2.html"
|
PKG_SITE="http://wirbel.htpc-forum.de/wirbelscan/index2.html"
|
||||||
PKG_URL="http://wirbel.htpc-forum.de/wirbelscan/$PKG_NAME-$PKG_VERSION.tgz"
|
PKG_URL="http://wirbel.htpc-forum.de/wirbelscan/$PKG_NAME-$PKG_VERSION.tgz"
|
||||||
PKG_DEPENDS="vdr"
|
PKG_DEPENDS_TARGET="vdr"
|
||||||
PKG_BUILD_DEPENDS="toolchain vdr"
|
PKG_BUILD_DEPENDS_TARGET="toolchain vdr"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="multimedia"
|
PKG_SECTION="multimedia"
|
||||||
PKG_SHORTDESC="TV"
|
PKG_SHORTDESC="TV"
|
||||||
@ -35,3 +35,19 @@ PKG_LONGDESC="TV"
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
VDR_DIR=$(basename $BUILD/vdr-[0-9]*)
|
||||||
|
PKG_MAKE_OPTS_TARGET="VDRDIR=$ROOT/$BUILD/$VDR_DIR \
|
||||||
|
LIBDIR=\".\" \
|
||||||
|
LOCALEDIR=\"./locale\""
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
|
CXXFLAGS="$CXXFLAGS -fPIC"
|
||||||
|
LDFLAGS="$LDFLAGS -fPIC"
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_target() {
|
||||||
|
: # installation not needed, done by create-addon script
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user