diff options
Diffstat (limited to 'multimedia/get_iplayer/get_iplayer.SlackBuild')
-rw-r--r-- | multimedia/get_iplayer/get_iplayer.SlackBuild | 22 |
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 |