wok-next view xine-lib/receipt @ rev 144
Add : lame for mp3 encoding
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 21 23:02:53 2008 +0100 (2008-01-21) |
parents | |
children | 85157dd7ea58 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-lib"
4 VERSION="1.1.8"
5 CATEGORY="extra"
6 SHORT_DESC="Xine video library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xinehq.de/"
11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/share/locale
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 cp -a $_pkg/usr/lib/xine $fs/usr/lib
30 strip --strip-unneeded $fs/usr/lib/* 2>/dev/null
31 strip --strip-unneeded $fs/usr/lib/xine/plugins/$VERSION/*.so
32 strip --strip-unneeded $fs/usr/lib/xine/plugins/$VERSION/post/*.so
33 strip --strip-unneeded $fs/usr/lib/xine/plugins/$VERSION/vidix/*.so
35 # Fonts and French locale.
36 cp -a $_pkg/usr/share/xine $fs/usr/share
37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
38 }