wok-current annotate gecko-mediaplayer/receipt @ rev 5821
get-virtualbox: load net modules too
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 15 14:22:49 2010 +0200 (2010-07-15) |
parents | ce6aa5307ddf |
children | 2e2182175d2f |
rev | line source |
---|---|
jozee@3128 | 1 # SliTaz package receipt. |
jozee@3128 | 2 |
jozee@3128 | 3 PACKAGE="gecko-mediaplayer" |
jozee@4535 | 4 VERSION="0.9.8" |
jozee@3128 | 5 CATEGORY="multimedia" |
jozee@3128 | 6 SHORT_DESC="Browser plugin that uses gnome-mplayer to play media in a web browser" |
jozee@3128 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5001 | 8 DEPENDS="gnome-mplayer dbus-glib gcc-lib-base" |
jozee@3409 | 9 BUILD_DEPENDS="firefox-dev dbus-dev dbus-glib-dev" |
jozee@3128 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@3128 | 11 WEB_SITE="http://code.google.com/p/gecko-mediaplayer/" |
jozee@3128 | 12 WGET_URL="http://gecko-mediaplayer.googlecode.com/files/$TARBALL" |
jozee@3128 | 13 TAGS="player audio video browser" |
jozee@3128 | 14 |
jozee@3128 | 15 # Rules to configure and make the package. |
jozee@3128 | 16 compile_rules() |
jozee@3128 | 17 { |
jozee@3128 | 18 cd $src |
jozee@3128 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
jozee@3409 | 20 --disable-schemas-install --without-gconf && |
jozee@3128 | 21 make && |
jozee@3128 | 22 make DESTDIR=$PWD/_pkg install |
jozee@3409 | 23 |
jozee@3128 | 24 } |
jozee@3128 | 25 |
jozee@3128 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3128 | 27 genpkg_rules() |
jozee@3128 | 28 { |
jozee@3128 | 29 mkdir -p $fs/usr/lib |
jozee@3128 | 30 cp -a $_pkg/usr/lib/mozilla $fs/usr/lib |
jozee@3409 | 31 |
jozee@3128 | 32 } |
jozee@3409 | 33 |
jozee@3409 | 34 post_install() |
jozee@3409 | 35 { |
jozee@3409 | 36 echo -n "Processing post install commands..." |
jozee@3409 | 37 local root |
jozee@3409 | 38 root=$1 |
jozee@3409 | 39 for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do |
jozee@3409 | 40 ln -s $i $root/usr/lib/firefox*/plugins |
jozee@3409 | 41 done |
jozee@3409 | 42 status |
jozee@3409 | 43 } |
jozee@3409 | 44 |
jozee@3409 | 45 post_remove() |
jozee@3409 | 46 { |
jozee@3409 | 47 echo -n "Processing post remove commands..." |
jozee@3409 | 48 rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so |
jozee@3409 | 49 status |
jozee@3409 | 50 } |