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

bristuff: fix zconfig.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 13 20:29:52 2008 +0000 (2008-10-13)
parents 5f25cfcd0de2
children fe7a7806934d
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 libtheora"
9 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev
10 libtheora-dev"
11 SOURCE="MPlayer"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
14 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --confdir=/etc/mplayer \
23 --libdir=/usr/lib/mplayer \
24 --target=i386-linux \
25 --language="en de es fr" \
26 --enable-gui
27 make
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 # Mencoder goes in a splited package.
37 rm $fs/usr/bin/mencoder
38 cp -a $_pkg/usr/share/mplayer $fs/usr/share
39 cp -a $_pkg/etc $fs
40 cp $src/etc/example.conf $fs/etc/mplayer
41 # Confi to use Xv by default.
42 cp stuff/mplayer.conf $fs/etc/mplayer
43 # default skin
44 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
45 cd $fs/usr/share/mplayer/skins && ln -s productive default
46 # Font
47 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
48 }