wok annotate gecko-mediaplayer/receipt @ rev 3813
Add: python-couchdbkit (0.1.8)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Aug 05 23:27:52 2009 +0000 (2009-08-05) |
parents | 24ae58a42508 |
children | ce6aa5307ddf |
rev | line source |
---|---|
jozee@3128 | 1 # SliTaz package receipt. |
jozee@3128 | 2 |
jozee@3128 | 3 PACKAGE="gecko-mediaplayer" |
jozee@3490 | 4 VERSION="0.9.6" |
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" |
jozee@3128 | 8 DEPENDS="gnome-mplayer dbus-glib" |
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 } |