wok view xine-lib/receipt @ rev 5014

tar: store tar in /bin (like busybox)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 01 13:28:15 2010 +0100 (2010-03-01)
parents 173ef2a8064d
children de5d8ec1d324
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-lib"
4 VERSION="1.1.16.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine video library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \
9 libtheora xorg-libXvMC xorg-libXv freetype faad2 vcdimager-xmltools nvidia \
10 libglu libmodplug gtk+ esound"
11 BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev xorg-libXvMC-dev \
12 xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \
13 libvorbis-dev libtheora-dev freetype-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.xine-project.org/"
16 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
18 # Rules to configure and make the package.
19 #
20 # Using --with-external-ffmpeg will make package smaller, but it dont seems
21 # to work properly. Last try with external ffmpeg make xine unable to read avi
22 # and other video files.
23 #
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --with-freetype \
32 --without-jack \
33 --without-imagemagick \
34 --without-sdl \
35 --disable-gnomevfs \
36 --disable-samba \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/usr/share
46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
47 cp -a $_pkg/usr/lib/xine $fs/usr/lib
49 # Do we need extra Fonts for subtitle support? \
50 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
51 # should we just ln DejavuSans as in mplayer?
52 # lets keep sans font for extra support
53 mkdir -p $fs/usr/share/xine/libxine1/fonts/
54 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
55 }