wok annotate mplayer/receipt @ rev 1240

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