wok-6.x annotate smplayer/receipt @ rev 6905
Up: squirrelmail to 1.4.21.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 12:25:55 2010 +0000 (2010-10-21) |
parents | 4897058add72 |
children | 0aa61c864a5b |
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@5007 | 8 DEPENDS="mplayer-svn libQtCore libQtGui libQtXml gcc-lib-base" |
slaxemulator@6233 | 9 BUILD_DEPENDS="mplayer-svn Qt4-dev qmake libQtCore libQtGui libQtXml libQtNetwork libegl-mesa" |
jozee@2910 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2910 | 11 WEB_SITE="http://smplayer.sourceforge.net/" |
jozee@2910 | 12 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" |
jozee@2910 | 13 TAGS="player audio video movie" |
jozee@2910 | 14 |
jozee@2910 | 15 # Rules to configure and make the package. |
jozee@2910 | 16 compile_rules() |
jozee@2910 | 17 { |
jozee@2910 | 18 cd $src |
pascal@5007 | 19 make PREFIX=/usr && |
jozee@2910 | 20 make PREFIX=/usr DESTDIR=$PWD/_pkg install |
jozee@2910 | 21 |
jozee@2910 | 22 } |
jozee@2910 | 23 |
jozee@2910 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2910 | 25 genpkg_rules() |
jozee@2910 | 26 { |
jozee@2910 | 27 mkdir -p $fs/usr/share $fs/usr/share/applications |
jozee@2910 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@2910 | 29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@2910 | 30 |
jozee@2910 | 31 # Remove extra translations or locales |
jozee@2910 | 32 rm $fs/usr/share/$PACKAGE/translations/* |
jozee@2910 | 33 cp -a $_pkg/usr/share/$PACKAGE/translations/smplayer_en_US.qm \ |
jozee@2910 | 34 $_pkg/usr/share/$PACKAGE/translations/smplayer_fr.qm \ |
jozee@2910 | 35 $fs/usr/share/$PACKAGE/translations/ |
jozee@2910 | 36 |
jozee@2910 | 37 # copy .desktop files |
jozee@2910 | 38 cp -a stuff/smplayer.desktop $fs/usr/share/applications/ |
jozee@2910 | 39 cp -a stuff/smplayer_enqueue.desktop $fs/usr/share/applications/ |
jozee@2910 | 40 } |