summaryrefslogtreecommitdiff
path: root/multimedia/get_iplayer/get_iplayer.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2013-07-07 21:49:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-07-14 17:07:17 -0500
commit4830b169dae3176464c43fddb1fc1dbeb3088a1e (patch)
tree0df7d06a7bc440a1c4d4e9eee59ed802b6a1c59f /multimedia/get_iplayer/get_iplayer.SlackBuild
parent962aa039d720242c11904896be228aa6b50e4673 (diff)
downloadslackbuilds-4830b169dae3176464c43fddb1fc1dbeb3088a1e.tar.gz
multimedia/get_iplayer: Updated for version 2.83.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/get_iplayer/get_iplayer.SlackBuild')
-rw-r--r--multimedia/get_iplayer/get_iplayer.SlackBuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/multimedia/get_iplayer/get_iplayer.SlackBuild b/multimedia/get_iplayer/get_iplayer.SlackBuild
index 4482e6692b..6a03246fd2 100644
--- a/multimedia/get_iplayer/get_iplayer.SlackBuild
+++ b/multimedia/get_iplayer/get_iplayer.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for get_iplayer.
#
+# Copyright 2011 Gregory J. L. Tourte <artourter@gmail.com>
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@@ -23,11 +24,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=get_iplayer
-VERSION=${VERSION:-2.78}
-ARCH=noarch
+VERSION=${VERSION:-2.83}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+ARCH=noarch
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -44,23 +46,25 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Debian patch to enable Live TV until next official release
-patch -p1 < $CWD/livetv-587146
-
mkdir -p $PKG/usr/bin
install -m 755 get_iplayer $PKG/usr/bin
# The plugins
mkdir -p $PKG/usr/share/$PRGNAM/plugins
install -m 755 plugins/* $PKG/usr/share/$PRGNAM/plugins
-# Create a manpage from the Debian manpage patch
-patch < $CWD/manpage
+# Install the manpage and compress it
mkdir -p $PKG/usr/man/man1
-mv $PRGNAM.1 $PKG/usr/man/man1
+install -m 644 $PRGNAM.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+# put sample web cgi interface in /usr/share
+mkdir -p $PKG/usr/share/$PRGNAM/webcgi/html
+install -m 644 html/* $PKG/usr/share/$PRGNAM/webcgi/html
+install -m 644 get_iplayer.cgi $PKG/usr/share/$PRGNAM/webcgi
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG.txt LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.txt LICENSE.txt README.md CHANGELOG-get_iplayer.cgi.txt \
+ README-get_iplayer.cgi.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG