From 4cacfd32cff18ad8dd03b2e257c051c2b3ef9f7b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 19 Feb 2011 14:23:09 +0100 Subject: [PATCH] new package: add package 'pastebinit' Signed-off-by: Stephan Raue --- packages/tools/pastebinit/install | 29 +++++++++++++++++++++++++ packages/tools/pastebinit/meta | 36 +++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100755 packages/tools/pastebinit/install create mode 100644 packages/tools/pastebinit/meta diff --git a/packages/tools/pastebinit/install b/packages/tools/pastebinit/install new file mode 100755 index 0000000000..7b7635cd67 --- /dev/null +++ b/packages/tools/pastebinit/install @@ -0,0 +1,29 @@ +#!/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/etc/pastebin.d + cp $PKG_BUILD/pastebin.d/pastebin.com.conf $INSTALL/etc/pastebin.d + +mkdir -p $INSTALL/usr/bin + cp $PKG_BUILD/pastebinit $INSTALL/usr/bin diff --git a/packages/tools/pastebinit/meta b/packages/tools/pastebinit/meta new file mode 100644 index 0000000000..4a03b3ee9f --- /dev/null +++ b/packages/tools/pastebinit/meta @@ -0,0 +1,36 @@ +################################################################################ +# 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="pastebinit" +PKG_VERSION="1.2" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://launchpad.net/pastebinit" +PKG_URL="http://launchpad.net/pastebinit/trunk/$PKG_VERSION/+download/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="Python simplejson configobj" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="pastebinit: Upload Directly to Pastebin from the Linux Shell" +PKG_LONGDESC="pastebinit is a tool for Uploading Directly to Pastebin from the Linux Shell" +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"