wok-current annotate youtube-dl/receipt @ rev 10474

youtube-dl: add compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 11:53:03 2011 +0200 (2011-05-25)
parents 62ac62e4ddf6
children 545dcbb27037
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 TARBALL="$PACKAGE"
gokhlayeh@8882 9 WEB_SITE="http://rg3.github.com/youtube-dl/"
gokhlayeh@8882 10 WGET_URL="https://github.com/rg3/$PACKAGE/raw/$VERSION/$PACKAGE"
gokhlayeh@8882 11
slaxemulator@10359 12 DEPENDS="python"
slaxemulator@10359 13 BUILD_DEPENDS="wget"
slaxemulator@10359 14
pascal@10474 15 # Rules to configure and make the package.
pascal@10474 16 compile_rules()
pascal@10474 17 {
pascal@10474 18 mkdir -p $DESTDIR/usr/bi
pascal@10474 19 cp -a $src/* $DESTDIR/usr/bin
pascal@10474 20 }
pascal@10474 21
gokhlayeh@8882 22 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8882 23 genpkg_rules()
gokhlayeh@8882 24 {
gokhlayeh@8882 25 mkdir -p $fs/usr/bin
pascal@10474 26 cp -a $_pkg/* $fs
gokhlayeh@8882 27 chmod +x $fs/usr/bin/$PACKAGE
pankso@9802 28 }