wok annotate gnome-mplayer/receipt @ rev 3815
Fix: slim cook with gcc 4.4 serie
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Aug 06 14:18:28 2009 +0200 (2009-08-06) |
parents | 322106c5a6d7 |
children | 00d75d702c53 |
rev | line source |
---|---|
jozee@3120 | 1 # SliTaz package receipt. |
jozee@3120 | 2 |
jozee@3120 | 3 PACKAGE="gnome-mplayer" |
jozee@3489 | 4 VERSION="0.9.6" |
jozee@3120 | 5 CATEGORY="multimedia" |
jozee@3120 | 6 SHORT_DESC="simple MPlayer GUI" |
jozee@3120 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@3120 | 8 DEPENDS="mplayer-svn dbus-glib libnotify" |
jozee@3129 | 9 BUILD_DEPENDS="mplayer-svn dbus-glib-dev libnotify libnotify-dev libgpod libgpod-dev" |
jozee@3129 | 10 SUGGESTED="libgpod" |
jozee@3120 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@3120 | 12 WEB_SITE="http://gnome-mplayer.googlecode.com/" |
jozee@3120 | 13 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@3120 | 14 TAGS="player audio video movie mp3 ogg dvd" |
jozee@3120 | 15 |
jozee@3120 | 16 # Rules to configure and make the package. |
jozee@3120 | 17 compile_rules() |
jozee@3120 | 18 { |
jozee@3120 | 19 cd $src |
jozee@3120 | 20 ./configure --prefix=/usr --sysconfdir=/etc \ |
jozee@3120 | 21 --disable-schemas-install --without-gconf && |
jozee@3120 | 22 make && |
jozee@3120 | 23 make DESTDIR=$PWD/_pkg install |
jozee@3120 | 24 |
jozee@3120 | 25 } |
jozee@3120 | 26 |
jozee@3120 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3120 | 28 genpkg_rules() |
jozee@3120 | 29 { |
jozee@3120 | 30 mkdir -p $fs/usr/share $fs/usr/share/applications |
jozee@3120 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@3120 | 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
jozee@3120 | 33 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $_pkg/usr/share/applications/$PACKAGE.desktop |
jozee@3120 | 34 |
jozee@3120 | 35 |
jozee@3120 | 36 } |