summaryrefslogtreecommitdiff
path: root/multimedia/get_iplayer/get_iplayer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/get_iplayer/get_iplayer.SlackBuild')
-rw-r--r--multimedia/get_iplayer/get_iplayer.SlackBuild18
1 files changed, 15 insertions, 3 deletions
diff --git a/multimedia/get_iplayer/get_iplayer.SlackBuild b/multimedia/get_iplayer/get_iplayer.SlackBuild
index 3a6d896d5a..4482e6692b 100644
--- a/multimedia/get_iplayer/get_iplayer.SlackBuild
+++ b/multimedia/get_iplayer/get_iplayer.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for get_iplayer
+# Slackware build script for get_iplayer.
#
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=get_iplayer
-VERSION=${VERSION:-2.66}
+VERSION=${VERSION:-2.78}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,11 +44,23 @@ 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
+mkdir -p $PKG/usr/man/man1
+mv $PRGNAM.1 $PKG/usr/man/man1
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG.txt LICENSE.txt MANIFEST.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.txt LICENSE.txt README.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