wok-6.x rev 16823

Add minitube.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 11 16:47:18 2014 +0300 (2014-07-11)
parents c91da204982c
children b9fb366ec70a
files minitube/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/minitube/receipt	Fri Jul 11 16:47:18 2014 +0300
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="minitube"
     1.7 +COMMIT="3b1c032abf648b386ac82990edfc0a0733a9d0e8"
     1.8 +VERSION="${COMMIT:0:7}"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="Minitube is a native YouTube client"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="GPL3"
    1.13 +WEB_SITE="http://flavio.tordini.org/minitube"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://gitorious.org/minitube/minitube/archive/$COMMIT.tar.gz"
    1.16 +
    1.17 +DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
    1.18 +libQtXml qt4-phonon"
    1.19 +BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	mkdir build; cd build
    1.25 +	qmake ../minitube.pro &&
    1.26 +	make && make INSTALL_ROOT=$install install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/* $fs
    1.33 +
    1.34 +	for size in 64 128 256 512; do
    1.35 +		rm -rf $fs/usr/share/icons/hicolor/${size}x$size
    1.36 +	done
    1.37 +}