wok-next view xfmedia/receipt @ rev 4921
php-mcrypt: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 15 20:42:05 2010 +0100 (2010-02-15) |
parents | |
children | 413b0174114a |
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"
9 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 }