wok-6.x view smplayer/receipt @ rev 7650

Add squashfs+xz to kernel. This allows for greater compressing then lzma and it will work without cause a kernel opps. As long as the custom code for freeing lzma initramfs stays with lzma initramfs.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Dec 14 21:45:09 2010 +0000 (2010-12-14)
parents 21f0f0dac400
children 5af4199c207b
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 DEPENDS="mplayer libQtCore libQtGui libQtXml gcc-lib-base"
9 BUILD_DEPENDS="mplayer Qt4-dev qmake libQtCore libQtGui libQtXml libQtNetwork libegl-mesa zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://smplayer.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="player audio video movie"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make PREFIX=/usr &&
20 make PREFIX=/usr DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share $fs/usr/share/applications
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 # Remove extra translations or locales
32 rm $fs/usr/share/$PACKAGE/translations/*
33 cp -a $_pkg/usr/share/$PACKAGE/translations/smplayer_en_US.qm \
34 $_pkg/usr/share/$PACKAGE/translations/smplayer_fr.qm \
35 $fs/usr/share/$PACKAGE/translations/
37 # copy .desktop files
38 cp -a stuff/smplayer.desktop $fs/usr/share/applications/
39 cp -a stuff/smplayer_enqueue.desktop $fs/usr/share/applications/
40 }