wok-current view smtube/receipt @ rev 18069
smtube: try to fix build
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed May 20 00:18:47 2015 +0200 (2015-05-20) |
parents | 240736300028 |
children | f1b019f776c9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="15.5.17"
5 CATEGORY="multimedia"
6 SHORT_DESC="Qt Youtube browser using *mplayer or vlc."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://smtube.sourceforge.net/"
11 SF_MIRROR="http://downloads.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="mplayer-opt libQtGui libQtXml libQtScript libQtNetwork libQtWebkit"
15 BUILD_DEPENDS="wget qmake Qt4-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 make PREFIX=/usr &&
22 make PREFIX=/usr DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
30 for size in 16 48 64 128 256; do
31 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
32 done
33 }