wok view youtube-dl-gui/receipt @ rev 18556

Up slitaz-tools(953)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 08 01:42:35 2015 +0200 (2015-11-08)
parents f33f3cf10490
children 922f061231c2
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="PublicDomain"
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 }