wok-next view smplayer/receipt @ rev 17384
ncurses: do not depends on libtinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 10:02:36 2014 +0100 (2014-11-27) |
parents | 3b4e4318134e |
children | 9a9d8eb38212 |
line source
1 # SliTaz package receipt.
3 PACKAGE="smplayer"
4 VERSION="0.6.9"
5 CATEGORY="multimedia"
6 SHORT_DESC="QT-based front-end for MPlayer"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://smplayer.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="player audio video movie"
14 DEPENDS="mplayer-opt libQtCore libQtGui libQtXml gcc-lib-base"
15 BUILD_DEPENDS="qt4 Qt4-dev qmake libQtNetwork libegl-mesa"
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
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/usr/share/applications
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/$PACKAGE $fs/usr/share
33 # Remove extra translations or locales
34 rm $fs/usr/share/$PACKAGE/translations/*
35 cp -a $install/usr/share/$PACKAGE/translations/smplayer_en_US.qm \
36 $install/usr/share/$PACKAGE/translations/smplayer_fr.qm \
37 $fs/usr/share/$PACKAGE/translations/
39 # copy .desktop file.
40 cp -a $stuff/smplayer_enqueue.desktop $fs/usr/share/applications/
41 }