wok-current annotate mps-youtube/receipt @ rev 18680
Add mps-youtube
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 18:35:44 2015 +0100 (2015-12-09) |
parents | |
children | ee335b59f430 |
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@18680 | 13 BUILD_DEPENDS="python setuptools" |
pascal@18680 | 14 |
pascal@18680 | 15 # Rules to configure and make the package. |
pascal@18680 | 16 compile_rules() |
pascal@18680 | 17 { |
pascal@18680 | 18 python setup.py build |
pascal@18680 | 19 python setup.py install --root=$DESTDIR |
pascal@18680 | 20 } |
pascal@18680 | 21 |
pascal@18680 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18680 | 23 genpkg_rules() |
pascal@18680 | 24 { |
pascal@18680 | 25 cp -a $install/usr $fs |
pascal@18680 | 26 } |
pascal@18680 | 27 |