wok-6.x view xfmedia/receipt @ rev 5102

ppp:improve ip* scripts path
author Rohit Joshi <jozee@slitaz.org>
date Tue Mar 16 15:30:23 2010 +0000 (2010-03-16)
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 }