wok annotate smtube/receipt @ rev 17407
ola: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 18:21:40 2014 +0100 (2014-11-28) |
parents | |
children | 240736300028 |
rev | line source |
---|---|
psychomaniak@16954 | 1 # SliTaz package receipt. |
psychomaniak@16954 | 2 |
psychomaniak@16954 | 3 PACKAGE="smtube" |
psychomaniak@16954 | 4 VERSION="14.7.0" |
psychomaniak@16954 | 5 CATEGORY="multimedia" |
psychomaniak@16954 | 6 SHORT_DESC="Qt Youtube browser using *mplayer or vlc." |
psychomaniak@16954 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@16954 | 8 LICENSE="GPL2" |
psychomaniak@16954 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
psychomaniak@16954 | 10 WEB_SITE="http://smplayer.sourceforge.net/smtube" |
psychomaniak@16954 | 11 WGET_URL="$SF_MIRROR/smplayer/$TARBALL" |
psychomaniak@16954 | 12 |
psychomaniak@16954 | 13 DEPENDS="mplayer-opt libQtGui libQtXml libQtScript libQtNetwork" |
psychomaniak@16954 | 14 BUILD_DEPENDS="qmake Qt4-dev" |
psychomaniak@16954 | 15 |
psychomaniak@16954 | 16 # Rules to configure and make the package. |
psychomaniak@16954 | 17 compile_rules() |
psychomaniak@16954 | 18 { |
psychomaniak@16954 | 19 cd $src |
psychomaniak@16954 | 20 make PREFIX=/usr && |
psychomaniak@16954 | 21 make PREFIX=/usr DESTDIR=$DESTDIR install |
psychomaniak@16954 | 22 } |
psychomaniak@16954 | 23 |
psychomaniak@16954 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@16954 | 25 genpkg_rules() |
psychomaniak@16954 | 26 { |
psychomaniak@16954 | 27 cp -a $install/* $fs |
psychomaniak@16954 | 28 |
psychomaniak@16954 | 29 for size in 16 48 64 128 256; do |
psychomaniak@16954 | 30 rm -rf $fs/usr/share/icons/hicolor/${size}x$size |
psychomaniak@16954 | 31 done |
psychomaniak@16954 | 32 } |