network/youtube-dl: Added to 13.0 repository

This commit is contained in:
GPLeo 2010-05-13 01:00:26 +02:00 committed by David Somero
parent 207ae99945
commit f33c3d5a66
5 changed files with 72 additions and 0 deletions

View File

@ -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.

View File

@ -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:

Binary file not shown.

View File

@ -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}

View File

@ -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"