diff options
-rw-r--r-- | network/youtube-dl/README | 2 | ||||
-rw-r--r-- | network/youtube-dl/slack-desc | 19 | ||||
-rw-r--r-- | network/youtube-dl/youtube-dl.1.gz | bin | 0 -> 4055 bytes | |||
-rw-r--r-- | network/youtube-dl/youtube-dl.SlackBuild | 41 | ||||
-rw-r--r-- | network/youtube-dl/youtube-dl.info | 10 |
5 files changed, 72 insertions, 0 deletions
diff --git a/network/youtube-dl/README b/network/youtube-dl/README new file mode 100644 index 0000000000..a7ccb6e13e --- /dev/null +++ b/network/youtube-dl/README @@ -0,0 +1,2 @@ +youtube-dl is a small command-line program to download videos from +YouTube.com. It's licensed under the MIT License. diff --git a/network/youtube-dl/slack-desc b/network/youtube-dl/slack-desc new file mode 100644 index 0000000000..9282b8f00d --- /dev/null +++ b/network/youtube-dl/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +youtube-dl: youtube-dl (Youtube video download utility) +youtube-dl: +youtube-dl: youtube-dl is a small command-line program to download videos from +youtube-dl: YouTube.com. It's licensed under the MIT License. +youtube-dl: +youtube-dl: Homepage: http://bitbucket.org/rg3/youtube-dl/wiki/ +youtube-dl: +youtube-dl: +youtube-dl: +youtube-dl: +youtube-dl: diff --git a/network/youtube-dl/youtube-dl.1.gz b/network/youtube-dl/youtube-dl.1.gz Binary files differnew file mode 100644 index 0000000000..ceebebb08d --- /dev/null +++ b/network/youtube-dl/youtube-dl.1.gz diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild new file mode 100644 index 0000000000..332e64d8ff --- /dev/null +++ b/network/youtube-dl/youtube-dl.SlackBuild @@ -0,0 +1,41 @@ +#!/bin/sh +# +# Slackware build script for youtube-dl +# Written by GPLeo <slackbuilds@gmail.com> +# + +PRGNAM=youtube-dl +VERSION=${VERSION:-2010.01.19} +ARCH=${ARCH:-noarch} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM +mkdir -p ${PKG}/usr/bin +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +install -m0755 ${CWD}/${PRGNAM} ${PKG}/usr/bin/${PRGNAM} + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/usr/man/man1/ +cp $CWD/youtube-dl.1.gz $PKG/usr/man/man1/ + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} + diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info new file mode 100644 index 0000000000..417c8f21a6 --- /dev/null +++ b/network/youtube-dl/youtube-dl.info @@ -0,0 +1,10 @@ +PRGNAM="youtube-dl" +VERSION="2010.01.19" +HOMEPAGE="http://bitbucket.org/rg3/youtube-dl/wiki/" +DOWNLOAD="http://bitbucket.org/rg3/youtube-dl/raw/2010.01.19/youtube-dl" +DOWNLOAD_x86_64="" +MD5SUM="9f26a0338b4a790bb409988f025a7666" +MD5SUM_x86_64="" +MAINTAINER="GPLeo" +EMAIL="slackbuilds@gmail.com" +APPROVED="dsomero" |