wok-current 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 cf7db3bc3bbb
children 16c618ff846c
files youtube-dl/receipt
line diff
     1.1 --- a/youtube-dl/receipt	Wed May 25 11:53:16 2011 +0200
     1.2 +++ b/youtube-dl/receipt	Wed May 25 11:53:03 2011 +0200
     1.3 @@ -12,10 +12,17 @@
     1.4  DEPENDS="python"
     1.5  BUILD_DEPENDS="wget"
     1.6  
     1.7 +# Rules to configure and make the package.
     1.8 +compile_rules()
     1.9 +{
    1.10 +	mkdir -p $DESTDIR/usr/bi
    1.11 +	cp -a $src/* $DESTDIR/usr/bin
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17  	mkdir -p $fs/usr/bin
    1.18 -	cp -a $SOURCE_REPOSITORY/$PACKAGE $fs/usr/bin
    1.19 +	cp -a $_pkg/* $fs
    1.20  	chmod +x $fs/usr/bin/$PACKAGE
    1.21  }