wok-next annotate smtube/receipt @ rev 18924
glibc: fix build (thanks az_ua)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 25 14:47:17 2016 +0200 (2016-02-25) |
parents | 03f467e7ae6c |
children | 14d9312a2b7b |
rev | line source |
---|---|
psychomaniak@16954 | 1 # SliTaz package receipt. |
psychomaniak@16954 | 2 |
psychomaniak@16954 | 3 PACKAGE="smtube" |
psychomaniak@18068 | 4 VERSION="15.5.17" |
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@18069 | 10 WEB_SITE="http://smtube.sourceforge.net/" |
psychomaniak@18068 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
psychomaniak@16954 | 12 |
psychomaniak@18068 | 13 DEPENDS="mplayer-opt libQtGui libQtXml libQtScript libQtNetwork libQtWebkit" |
psychomaniak@18069 | 14 BUILD_DEPENDS="wget 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 } |