wok-next annotate youtube-dl-gui/receipt @ rev 18060
Up mercurial (3.4)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat May 16 21:33:08 2015 +0200 (2015-05-16) |
parents | f33f3cf10490 |
children | 270c09f6a958 |
rev | line source |
---|---|
al@17348 | 1 # SliTaz package receipt. |
al@17348 | 2 |
al@17348 | 3 PACKAGE="youtube-dl-gui" |
al@17348 | 4 COMMIT="a2a0d6fb4907d9282c2f45a00a1e51ce23602421" |
al@17348 | 5 VERSION="${COMMIT:0:10}" |
al@17348 | 6 CATEGORY="multimedia" |
al@17348 | 7 SHORT_DESC="A cross platform front-end GUI of the popular youtube-dl written in wxPython." |
al@17348 | 8 MAINTAINER="al.bobylev@gmail.com" |
pascal@17349 | 9 LICENSE="PublicDomain" |
al@17348 | 10 WEB_SITE="https://github.com/MrS0m30n3/youtube-dl-gui" |
al@17348 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17348 | 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" |
al@17348 | 13 GENERIC_PIXMAPS="no" |
al@17348 | 14 |
al@17348 | 15 DEPENDS="youtube-dl wxpython" |
al@17348 | 16 BUILD_DEPENDS="wget cacerts wxpython-dev" |
al@17348 | 17 |
al@17348 | 18 # Rules to configure and make the package. |
al@17348 | 19 compile_rules() |
al@17348 | 20 { |
al@17348 | 21 python setup.py build |
al@17348 | 22 python setup.py install --root=$install |
al@17348 | 23 } |
al@17348 | 24 |
al@17348 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17348 | 26 genpkg_rules() |
al@17348 | 27 { |
al@17348 | 28 mkdir -p $fs/usr/share/icons/hicolor |
al@17348 | 29 cp -a $install/usr/lib $fs/usr |
al@17348 | 30 find $fs -name '*.pyc' -delete |
al@17348 | 31 for size in 16x16 48x48; do |
al@17348 | 32 mkdir -p $fs/usr/share/icons/hicolor/$size/apps |
al@17348 | 33 cp -a $install/usr/share/icons/hicolor/$size/apps/*.png \ |
al@17348 | 34 $fs/usr/share/icons/hicolor/$size/apps/$PACKAGE.png |
al@17348 | 35 done |
al@17348 | 36 } |