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