wok annotate smplayer/receipt @ rev 18175
Up: openssh 6.9
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Jul 01 21:28:11 2015 +0000 (2015-07-01) |
parents | 3b4e4318134e |
children | 9a9d8eb38212 |
rev | line source |
---|---|
jozee@2910 | 1 # SliTaz package receipt. |
jozee@2910 | 2 |
jozee@2910 | 3 PACKAGE="smplayer" |
slaxemulator@6233 | 4 VERSION="0.6.9" |
jozee@2910 | 5 CATEGORY="multimedia" |
jozee@2910 | 6 SHORT_DESC="QT-based front-end for MPlayer" |
jozee@2910 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
jozee@2910 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2910 | 10 WEB_SITE="http://smplayer.sourceforge.net/" |
slaxemulator@7139 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@2910 | 12 TAGS="player audio video movie" |
jozee@2910 | 13 |
psychomaniak@16843 | 14 DEPENDS="mplayer-opt libQtCore libQtGui libQtXml gcc-lib-base" |
pascal@15593 | 15 BUILD_DEPENDS="qt4 Qt4-dev qmake libQtNetwork libegl-mesa" |
pascal@15593 | 16 |
jozee@2910 | 17 # Rules to configure and make the package. |
jozee@2910 | 18 compile_rules() |
jozee@2910 | 19 { |
jozee@2910 | 20 cd $src |
pascal@5007 | 21 make PREFIX=/usr && |
pascal@15593 | 22 make PREFIX=/usr DESTDIR=$DESTDIR install |
jozee@2910 | 23 |
jozee@2910 | 24 } |
jozee@2910 | 25 |
jozee@2910 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2910 | 27 genpkg_rules() |
jozee@2910 | 28 { |
jozee@2910 | 29 mkdir -p $fs/usr/share $fs/usr/share/applications |
pascal@15593 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15593 | 31 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
jozee@2910 | 32 |
jozee@2910 | 33 # Remove extra translations or locales |
jozee@2910 | 34 rm $fs/usr/share/$PACKAGE/translations/* |
pascal@15593 | 35 cp -a $install/usr/share/$PACKAGE/translations/smplayer_en_US.qm \ |
pascal@15593 | 36 $install/usr/share/$PACKAGE/translations/smplayer_fr.qm \ |
jozee@2910 | 37 $fs/usr/share/$PACKAGE/translations/ |
jozee@2910 | 38 |
samuel_trassare@12057 | 39 # copy .desktop file. |
samuel_trassare@12057 | 40 cp -a $stuff/smplayer_enqueue.desktop $fs/usr/share/applications/ |
jozee@2910 | 41 } |