From 6a7f334da1aabf2264496618b22dfe1d0535ac00 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Fri, 25 Oct 2013 21:18:30 +0300 Subject: [PATCH] vdr-control: remove 'rename' script --- .../multimedia/vdr-control/package.mk | 4 +++ .../3rdparty/multimedia/vdr-control/rename | 26 ------------------- 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100755 packages/3rdparty/multimedia/vdr-control/rename diff --git a/packages/3rdparty/multimedia/vdr-control/package.mk b/packages/3rdparty/multimedia/vdr-control/package.mk index 7df387e01a..6c2b05786d 100644 --- a/packages/3rdparty/multimedia/vdr-control/package.mk +++ b/packages/3rdparty/multimedia/vdr-control/package.mk @@ -41,6 +41,10 @@ PKG_MAKE_OPTS_TARGET="VDRDIR=$ROOT/$BUILD/$VDR_DIR \ LIBDIR=\".\" \ LOCALEDIR=\"./locale\"" +post_unpack() { + mv $ROOT/$BUILD/control-${PKG_VERSION} $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION} +} + pre_configure_target() { export CFLAGS="$CFLAGS -fPIC" export CXXFLAGS="$CXXFLAGS -fPIC" diff --git a/packages/3rdparty/multimedia/vdr-control/rename b/packages/3rdparty/multimedia/vdr-control/rename deleted file mode 100755 index 2cd5321a03..0000000000 --- a/packages/3rdparty/multimedia/vdr-control/rename +++ /dev/null @@ -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 control-${PKG_VERSION} ${PKG_NAME}-${PKG_VERSION}