wok-6.x view xine-lib/receipt @ rev 18831
linux-module-headers: avoid depmod during install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 18 17:45:22 2016 +0100 (2016-01-18) |
parents | e0d46e46833e |
children | b1b5c2c950b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-lib"
4 VERSION="1.2.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine video library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.xine-project.org/"
11 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL"
12 SUGGESTED="xine-fonts"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="faad2"
16 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \
17 libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg libmodplug"
18 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \
19 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \
20 pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev file \
21 libmodplug-dev"
23 # Handle cross compilation
24 case "$ARCH" in
25 arm*)
26 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
27 export LIBTOOL=${HOST_SYSTEM}-libtool
28 ARCH_ARGS="--disable-xinerama" ;;
29 esac
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 sed -i 's/grep -x/grep/' configure
35 CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \
36 ./configure \
37 --prefix=/usr \
38 --infodir=/usr/share/info \
39 --mandir=/usr/share/man \
40 --with-freetype \
41 --with-xcb \
42 --without-jack \
43 --without-imagemagick \
44 --without-sdl \
45 --disable-gnomevfs \
46 --disable-samba \
47 --disable-glu \
48 --disable-opengl \
49 --disable-fb \
50 --without-esound \
51 --disable-vcd \
52 --disable-musepack \
53 $CONFIGURE_ARGS $ARCH_ARGS &&
54 make && make install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr/lib $fs/usr/share
61 cp -a $install/usr/lib/*.so* $fs/usr/lib
62 cp -a $install/usr/lib/xine $fs/usr/lib
63 }