wok view mplayer/receipt @ rev 945
Up: slitaz-boot-scripts (2.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jun 24 20:40:11 2008 +0200 (2008-06-24) |
parents | |
children | 297ad3bc6436 |
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"
9 BUILD_DEPENDS="cdparanoia-III-dev libmad-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 # default skin
41 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
42 cd $fs/usr/share/mplayer/skins && ln -s Blue-small default
43 # Font
44 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
45 }