wok-next annotate xine-ui/receipt @ rev 9071
virtualbox-ose: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 15:17:58 2011 +0100 (2011-03-04) |
parents | 79eb1bd99d53 |
children | af9a1b47948c |
rev | line source |
---|---|
pankso@33 | 1 # SliTaz package receipt. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-ui" |
pankso@33 | 4 VERSION="0.99.5" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@33 | 6 SHORT_DESC="Xine media player user interface." |
pankso@33 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4519 | 8 DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv openssl libpng \ |
pankso@4519 | 9 ncurses readline xorg-libXft xorg-libXxf86vm" |
pankso@4519 | 10 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev xorg-libXtst-dev xorg-libXv-dev \ |
pankso@4519 | 11 xorg-inputproto xorg-xf86vidmodeproto" |
pankso@33 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2978 | 13 WEB_SITE="http://www.xine-project.org/" |
pankso@33 | 14 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" |
pankso@33 | 15 |
pankso@33 | 16 # Rules to configure and make the package. |
pankso@33 | 17 compile_rules() |
pankso@33 | 18 { |
pankso@33 | 19 cd $src |
pankso@4519 | 20 ./configure \ |
pankso@4519 | 21 --prefix=/usr \ |
pankso@4519 | 22 --mandir=/usr/share/man \ |
pankso@4519 | 23 --without-curl \ |
pankso@4519 | 24 $CONFIGURE_ARGS && |
pascal@1516 | 25 make && |
pankso@33 | 26 make DESTDIR=$PWD/_pkg install |
pankso@33 | 27 } |
pankso@33 | 28 |
pankso@33 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 30 genpkg_rules() |
pankso@33 | 31 { |
pankso@496 | 32 mkdir -p $fs/usr/share |
pankso@33 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@33 | 34 cp -a $_pkg/usr/share/xine $fs/usr/share |
pankso@4519 | 35 |
jozee@2977 | 36 # Remove the sample default.avi |
jozee@2977 | 37 rm $fs/usr/share/xine/visuals/*.avi |
pankso@33 | 38 } |