wok-stable view xfmedia/receipt @ rev 5268
Add: mpc-library (C lib for the arithmetic) New dep for gcc 4.5.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 14 22:45:03 2010 +0200 (2010-04-14) |
parents | 413b0174114a |
children | 9b0c22fa1d70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfmedia"
4 VERSION="0.9.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xfce Media Player"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfcegui4 libexo xine-lib xorg-libXss xorg-libXtst taglib"
9 BUILD_DEPENDS="libxfcegui4-dev libexo-dev xine-lib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia"
12 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --enable-exo \
22 --disable-startup-notification \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/etc $fs/
34 cp -a $_pkg/usr/share/icons $fs/usr/share
35 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
37 # Clean up
38 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
39 rm -f $fs/usr/bin/*-remote
41 # Strip evrythings
42 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
43 }