wok-current annotate youtube-dl/receipt @ rev 9802
youtube-dl: be compatible with cookutils and keep source file in source repository.
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 14:29:23 2011 +0200 (2011-05-14) |
parents | f6d3581520db |
children | 62ac62e4ddf6 |
rev | line source |
---|---|
gokhlayeh@8882 | 1 # SliTaz package receipt. |
gokhlayeh@8882 | 2 |
gokhlayeh@8882 | 3 PACKAGE="youtube-dl" |
slaxemulator@9429 | 4 VERSION="2011.03.29" |
gokhlayeh@8882 | 5 CATEGORY="utilities" |
gokhlayeh@8882 | 6 SHORT_DESC="Downloads videos from various streaming websites." |
gokhlayeh@8882 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@8882 | 8 DEPENDS="python" |
gokhlayeh@8882 | 9 BUILD_DEPENDS="wget" |
gokhlayeh@8882 | 10 TARBALL="$PACKAGE" |
gokhlayeh@8882 | 11 WEB_SITE="http://rg3.github.com/youtube-dl/" |
gokhlayeh@8882 | 12 WGET_URL="https://github.com/rg3/$PACKAGE/raw/$VERSION/$PACKAGE" |
gokhlayeh@8882 | 13 |
gokhlayeh@8882 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8882 | 15 genpkg_rules() |
gokhlayeh@8882 | 16 { |
gokhlayeh@8882 | 17 mkdir -p $fs/usr/bin |
pankso@9802 | 18 [ -x /usr/bin/tazwok ] && cp -a $src/$PACKAGE $fs/usr/bin |
pankso@9802 | 19 [ -x /usr/bin/cook ] && cp -a $SRC/$PACKAGE $fs/usr/bin |
gokhlayeh@8882 | 20 chmod +x $fs/usr/bin/$PACKAGE |
pankso@9802 | 21 } |