wok-6.x diff mplayer/receipt @ rev 972

Up: freetype (2.3.7)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 30 12:17:40 2008 +0200 (2008-06-30)
parents
children 297ad3bc6436
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mplayer/receipt	Mon Jun 30 12:17:40 2008 +0200
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mplayer"
     1.7 +VERSION="1.0rc2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="The Ultimate Movie Player For Linux."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ cdparanoia-III libmad"
    1.12 +BUILD_DEPENDS="cdparanoia-III-dev libmad-dev"
    1.13 +SOURCE="MPlayer"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.16 +WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--confdir=/etc/mplayer \
    1.25 +		--libdir=/usr/lib/mplayer \
    1.26 +		--target=i386-linux \
    1.27 +		--language="en de es fr" \
    1.28 +		--enable-gui 
    1.29 +	make
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/share
    1.37 +	cp -a $_pkg/usr/bin $fs/usr
    1.38 +	# Mencoder goes in a splited package.
    1.39 +	rm $fs/usr/bin/mencoder
    1.40 +	cp -a $_pkg/usr/share/mplayer $fs/usr/share
    1.41 +	cp -a $_pkg/etc $fs
    1.42 +	cp $src/etc/example.conf $fs/etc/mplayer
    1.43 +	# default skin
    1.44 +	tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
    1.45 +	cd $fs/usr/share/mplayer/skins && ln -s Blue-small default
    1.46 +	# Font
    1.47 +	cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    1.48 +}
    1.49 +