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