wok-6.x view mplayer/receipt @ rev 1088

slitaz-configs: typo in receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jul 16 18:42:57 2008 +0200 (2008-07-16)
parents 928caf808a53
children fd502a1aefd9
line source
1 # SliTaz package receipt.
3 PACKAGE="mplayer"
4 VERSION="1.0rc2"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Ultimate Movie Player For Linux."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv"
9 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev"
10 SOURCE="MPlayer"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
13 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --confdir=/etc/mplayer \
22 --libdir=/usr/lib/mplayer \
23 --target=i386-linux \
24 --language="en de es fr" \
25 --enable-gui
26 make
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 # Mencoder goes in a splited package.
36 rm $fs/usr/bin/mencoder
37 cp -a $_pkg/usr/share/mplayer $fs/usr/share
38 cp -a $_pkg/etc $fs
39 cp $src/etc/example.conf $fs/etc/mplayer
40 # Confi to use Xv by default.
41 cp stuff/mplayer.conf $fs/etc/mplayer
42 # default skin
43 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
44 cd $fs/usr/share/mplayer/skins && ln -s productive default
45 # Font
46 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
47 }