wok-current view gnome-mplayer/receipt @ rev 3315
transmission: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 08 00:03:03 2009 +0200 (2009-06-08) |
parents | f4cef882eac1 |
children | 41b588226a83 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-mplayer"
4 VERSION="0.9.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="simple MPlayer GUI"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="mplayer-svn dbus-glib libnotify"
9 BUILD_DEPENDS="mplayer-svn dbus-glib-dev libnotify libnotify-dev libgpod libgpod-dev"
10 SUGGESTED="libgpod"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://gnome-mplayer.googlecode.com/"
13 WGET_URL="$WEB_SITE/files/$TARBALL"
14 TAGS="player audio video movie mp3 ogg dvd"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --sysconfdir=/etc \
21 --disable-schemas-install --without-gconf &&
22 make &&
23 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 $fs/usr/share/applications
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
33 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $_pkg/usr/share/applications/$PACKAGE.desktop
36 }