From 6e862e4c6f9ea37123e49d630436e231cae62e21 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 25 Dec 2011 19:44:33 +0100 Subject: [PATCH] new package: add new package 'vdr-dvbapi-plugin' (testing) Signed-off-by: Stephan Raue --- .../multimedia/vdr-dvbapi-plugin/build | 32 ++++++++++++++++ .../multimedia/vdr-dvbapi-plugin/install | 27 ++++++++++++++ .../testing/multimedia/vdr-dvbapi-plugin/meta | 37 +++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100755 packages/testing/multimedia/vdr-dvbapi-plugin/build create mode 100755 packages/testing/multimedia/vdr-dvbapi-plugin/install create mode 100644 packages/testing/multimedia/vdr-dvbapi-plugin/meta diff --git a/packages/testing/multimedia/vdr-dvbapi-plugin/build b/packages/testing/multimedia/vdr-dvbapi-plugin/build new file mode 100755 index 0000000000..141398211a --- /dev/null +++ b/packages/testing/multimedia/vdr-dvbapi-plugin/build @@ -0,0 +1,32 @@ +#!/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 + +VDR_DIR=`basename $BUILD/vdr-[0-9]*` + +# dont build parallel + MAKEFLAGS=-j1 + +cd $PKG_BUILD + make VDRDIR="../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale" + diff --git a/packages/testing/multimedia/vdr-dvbapi-plugin/install b/packages/testing/multimedia/vdr-dvbapi-plugin/install new file mode 100755 index 0000000000..561e50b3e9 --- /dev/null +++ b/packages/testing/multimedia/vdr-dvbapi-plugin/install @@ -0,0 +1,27 @@ +#!/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 + +mkdir -p $INSTALL/usr/lib/vdr + cp $PKG_BUILD/libvdr-dvbapi.so* $INSTALL/usr/lib/vdr + cp $PKG_BUILD/dvbapi_ca.so $INSTALL/usr/lib/vdr diff --git a/packages/testing/multimedia/vdr-dvbapi-plugin/meta b/packages/testing/multimedia/vdr-dvbapi-plugin/meta new file mode 100644 index 0000000000..5838ce3cfe --- /dev/null +++ b/packages/testing/multimedia/vdr-dvbapi-plugin/meta @@ -0,0 +1,37 @@ +################################################################################ +# 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 +################################################################################ + +PKG_NAME="vdr-dvbapi-plugin" +PKG_VERSION="6e8cad7" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/Louro/vdr-dvbapi-plugin" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS="vdr openssl" +PKG_BUILD_DEPENDS="toolchain vdr openssl" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="TV" +PKG_LONGDESC="TV" + +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"