wok-current view gecko-mediaplayer/receipt @ rev 7710
merge
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Sun Dec 19 23:29:00 2010 +0800 (2010-12-19) |
parents | 2e2182175d2f |
children |
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 sed -i 's/utf8characters/UTF8Characters/g' src/*.cpp
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/lib
31 cp -a $_pkg/usr/lib/mozilla $fs/usr/lib
33 }
35 post_install()
36 {
37 echo -n "Processing post install commands..."
38 local root
39 root=$1
40 for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do
41 ln -s $i $root/usr/lib/firefox*/plugins
42 done
43 status
44 }
46 post_remove()
47 {
48 echo -n "Processing post remove commands..."
49 rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so
50 status
51 }