wok-next view minitube/receipt @ rev 16823

Add minitube.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 11 16:47:18 2014 +0300 (2014-07-11)
parents
children b90addf313be
line source
1 # SliTaz package receipt.
3 PACKAGE="minitube"
4 COMMIT="3b1c032abf648b386ac82990edfc0a0733a9d0e8"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="multimedia"
7 SHORT_DESC="Minitube is a native YouTube client"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="http://flavio.tordini.org/minitube"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://gitorious.org/minitube/minitube/archive/$COMMIT.tar.gz"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
15 libQtXml qt4-phonon"
16 BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build; cd build
22 qmake ../minitube.pro &&
23 make && make INSTALL_ROOT=$install install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
31 for size in 64 128 256 512; do
32 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
33 done
34 }