wok-6.x view xine-lib/receipt @ rev 5162

icu, libetpan, libplayer, libvalhalla, wesnoth, xine-lib: compile_rules should be busybox compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 25 09:27:06 2010 +0100 (2010-03-25)
parents 410630f6493d
children 666fd56c3a0e
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 vcdimager-xmltools \
10 libmodplug gtk+ ffmpeg libmng"
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 sed -i 's/grep -x/grep/' configure
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 --with-freetype \
33 --without-jack \
34 --without-imagemagick \
35 --without-sdl \
36 --disable-gnomevfs \
37 --disable-samba \
38 --disable-glu \
39 --disable-opengl \
40 --disable-faad \
41 --disable-fb \
42 --disable-syncfb \
43 --without-esound \
44 $CONFIGURE_ARGS &&
45 make &&
46 make DESTDIR=$PWD/_pkg install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib $fs/usr/share
53 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
54 cp -a $_pkg/usr/lib/xine $fs/usr/lib
56 # Do we need extra Fonts for subtitle support? \
57 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
58 # should we just ln DejavuSans as in mplayer?
59 # lets keep sans font for extra support
60 mkdir -p $fs/usr/share/xine/libxine1/fonts/
61 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
62 }