wok-current view xfmedia/receipt @ rev 5900
Up: xorg-xf86-input-elographics (1.2.4)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 23 22:22:42 2010 +0200 (2010-07-23) |
parents | 9882a0d23d21 |
children | 2b9fa6d380f7 |
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 xorg-libXss-dev \
10 xorg-scrnsaverproto xcb-util-dev util-linux-ng-uuid-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia"
13 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-exo \
23 --disable-startup-notification \
24 $CONFIGURE_ARGS || return 1
25 sed -i 's/define HAVE_XSCREENSAVER_EXTENSION .*/undef HAVE_XSCREENSAVER_EXTENSION/' config.h
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/etc $fs/
36 cp -a $_pkg/usr/share/icons $fs/usr/share
37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
39 # Clean up
40 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
41 rm -f $fs/usr/bin/*-remote
43 # Strip evrythings
44 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
45 }