wok view xine-ui/receipt @ rev 12085
fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:47:23 2012 -0500 (2012-03-09) |
parents | af9a1b47948c |
children | 044f7a53c852 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-ui"
4 VERSION="0.99.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine media player user interface."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv openssl libpng \
9 ncurses readline xorg-libXft xorg-libXxf86vm"
10 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev xorg-libXtst-dev xorg-libXv-dev \
11 xorg-inputproto xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WEB_SITE="http://www.xine-project.org/"
14 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --without-curl \
24 --disable-lirc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications
34 cp -a $stuff/xine-ui.desktop $fs/usr/share/applications
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/xine $fs/usr/share
38 # Remove the sample default.avi
39 rm $fs/usr/share/xine/visuals/*.avi
40 }