aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGPLeo <slackbuilds@gmail.com>2010-05-13 01:00:26 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 01:00:26 +0200
commitf33c3d5a66642d55d4ed667503164ca4998d1ee5 (patch)
tree288106e8260bfad82391d75f92af718c77672429
parent207ae999454092fbcee99c3449ac786859cf18dc (diff)
network/youtube-dl: Added to 13.0 repository
-rw-r--r--network/youtube-dl/README2
-rw-r--r--network/youtube-dl/slack-desc19
-rw-r--r--network/youtube-dl/youtube-dl.1.gzbin0 -> 4055 bytes
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild41
-rw-r--r--network/youtube-dl/youtube-dl.info10
5 files changed, 72 insertions, 0 deletions
diff --git a/network/youtube-dl/README b/network/youtube-dl/README
new file mode 100644
index 0000000000000..a7ccb6e13ec2c
--- /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 0000000000000..9282b8f00dae5
--- /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
new file mode 100644
index 0000000000000..ceebebb08d317
--- /dev/null
+++ b/network/youtube-dl/youtube-dl.1.gz
Binary files differ
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
new file mode 100644
index 0000000000000..332e64d8ff0cc
--- /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 0000000000000..417c8f21a67f9
--- /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"