wok-6.x annotate mps-youtube/receipt @ rev 18682
Add mps-youtube (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 18:50:42 2015 +0100 (2015-12-09) |
parents | cd282dbb83dc |
children | 4c5528fadf3c |
rev | line source |
---|---|
pascal@18680 | 1 # SliTaz package receipt. |
pascal@18680 | 2 |
pascal@18680 | 3 PACKAGE="mps-youtube" |
pascal@18680 | 4 VERSION="0.2.5" |
pascal@18680 | 5 CATEGORY="network" |
pascal@18680 | 6 SHORT_DESC="Terminal based YouTube player and downloader." |
pascal@18680 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18680 | 8 LICENSE="GPL3" |
pascal@18680 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18680 | 10 WEB_SITE="https://github.com/mps-youtube/mps-youtube" |
pascal@18680 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@18680 | 12 |
pascal@18682 | 13 DEPENDS="mplayer" |
pascal@18680 | 14 BUILD_DEPENDS="python setuptools" |
pascal@18680 | 15 |
pascal@18680 | 16 # Rules to configure and make the package. |
pascal@18680 | 17 compile_rules() |
pascal@18680 | 18 { |
pascal@18680 | 19 python setup.py build |
pascal@18680 | 20 python setup.py install --root=$DESTDIR |
pascal@18680 | 21 } |
pascal@18680 | 22 |
pascal@18680 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18680 | 24 genpkg_rules() |
pascal@18680 | 25 { |
pascal@18680 | 26 cp -a $install/usr $fs |
pascal@18680 | 27 } |
pascal@18680 | 28 |