wok-current view gecko-mediaplayer/receipt @ rev 7294
Up: pcmciautils to 017.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 16 23:58:35 2010 +0000 (2010-11-16) |
parents | 9f19aee613be |
children | d0b3e22fabf4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gecko-mediaplayer"
4 VERSION="1.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Browser plugin that uses gnome-mplayer to play media in a web browser"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="gnome-mplayer dbus-glib gcc-lib-base"
9 BUILD_DEPENDS="firefox-dev dbus-dev dbus-glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://code.google.com/p/gecko-mediaplayer/"
12 WGET_URL="http://gecko-mediaplayer.googlecode.com/files/$TARBALL"
13 TAGS="player audio video browser"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --sysconfdir=/etc \
20 --disable-schemas-install --without-gconf &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/mozilla $fs/usr/lib
32 }
34 post_install()
35 {
36 echo -n "Processing post install commands..."
37 local root
38 root=$1
39 for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do
40 ln -s $i $root/usr/lib/firefox*/plugins
41 done
42 status
43 }
45 post_remove()
46 {
47 echo -n "Processing post remove commands..."
48 rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so
49 status
50 }