wok-6.x annotate xine-lib/receipt @ rev 2585
busybox/install: add -D support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 07 16:03:51 2009 +0000 (2009-04-07) |
parents | edff6143952d |
children | f9b8e9e02818 |
rev | line source |
---|---|
pankso@33 | 1 # SliTaz package receipt. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-lib" |
pankso@2051 | 4 VERSION="1.1.16.1" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@33 | 6 SHORT_DESC="Xine video library." |
pankso@33 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2419 | 8 DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib glib gtk+ libSDL libgio \ |
pascal@2419 | 9 libiconv libogg libvorbis" |
pankso@2051 | 10 BUILD_DEPENDS="xorg-dev zlib-dev xorg-libXvMC-dev xorg-libXv-dev libtheora" |
pankso@33 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@33 | 12 WEB_SITE="http://www.xinehq.de/" |
pankso@33 | 13 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" |
pankso@33 | 14 |
pankso@33 | 15 # Rules to configure and make the package. |
pankso@33 | 16 compile_rules() |
pankso@33 | 17 { |
pankso@33 | 18 cd $src |
pankso@499 | 19 ./configure \ |
pankso@499 | 20 --prefix=/usr \ |
pankso@499 | 21 --infodir=/usr/share/info \ |
pankso@499 | 22 --mandir=/usr/share/man \ |
pascal@1511 | 23 $CONFIGURE_ARGS && |
pascal@1511 | 24 make && |
pankso@33 | 25 make DESTDIR=$PWD/_pkg install |
pankso@33 | 26 } |
pankso@33 | 27 |
pankso@33 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 29 genpkg_rules() |
pankso@33 | 30 { |
pankso@33 | 31 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@33 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@33 | 33 cp -a $_pkg/usr/lib/xine $fs/usr/lib |
pankso@33 | 34 |
pankso@499 | 35 # Fonts. |
pankso@33 | 36 cp -a $_pkg/usr/share/xine $fs/usr/share |
pankso@33 | 37 } |
pankso@33 | 38 |