wok view xine-lib/receipt @ rev 190
UP : e2fsprogs (1.40.4) + gparted (0.3.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 06 23:24:21 2008 +0100 (2008-02-06) |
parents | a0f170d30896 |
children | e0f2bee5b24d |
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-lib"
4 VERSION="1.1.10"
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 }