# HG changeset patch # User Pascal Bellard # Date 1306317183 -7200 # Node ID a8728d541b58d73953d2f5a60ede9dc1ddaeadac # Parent cf7db3bc3bbbe1a86df6eb7d695d510f3b1da7a3 youtube-dl: add compile_rules diff -r cf7db3bc3bbb -r a8728d541b58 youtube-dl/receipt --- a/youtube-dl/receipt Wed May 25 11:53:16 2011 +0200 +++ b/youtube-dl/receipt Wed May 25 11:53:03 2011 +0200 @@ -12,10 +12,17 @@ DEPENDS="python" BUILD_DEPENDS="wget" +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $DESTDIR/usr/bi + cp -a $src/* $DESTDIR/usr/bin +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $SOURCE_REPOSITORY/$PACKAGE $fs/usr/bin + cp -a $_pkg/* $fs chmod +x $fs/usr/bin/$PACKAGE }