From f33c3d5a66642d55d4ed667503164ca4998d1ee5 Mon Sep 17 00:00:00 2001 From: GPLeo Date: Thu, 13 May 2010 01:00:26 +0200 Subject: network/youtube-dl: Added to 13.0 repository --- network/youtube-dl/README | 2 ++ network/youtube-dl/slack-desc | 19 ++++++++++++++ network/youtube-dl/youtube-dl.1.gz | Bin 0 -> 4055 bytes network/youtube-dl/youtube-dl.SlackBuild | 41 +++++++++++++++++++++++++++++++ network/youtube-dl/youtube-dl.info | 10 ++++++++ 5 files changed, 72 insertions(+) create mode 100644 network/youtube-dl/README create mode 100644 network/youtube-dl/slack-desc create mode 100644 network/youtube-dl/youtube-dl.1.gz create mode 100644 network/youtube-dl/youtube-dl.SlackBuild create mode 100644 network/youtube-dl/youtube-dl.info (limited to 'network/youtube-dl') 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 new file mode 100644 index 0000000000..ceebebb08d Binary files /dev/null and b/network/youtube-dl/youtube-dl.1.gz differ 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 +# + +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" -- cgit v1.2.3