wok diff mplayerplug-in/receipt @ rev 7162
Up: glew to 1.5.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 02:25:09 2010 +0000 (2010-11-07) |
parents | bb20381d90dc |
children | a527a7e82b76 |
line diff
1.1 --- a/mplayerplug-in/receipt Sat Nov 06 03:30:43 2010 +0000 1.2 +++ b/mplayerplug-in/receipt Sun Nov 07 02:25:09 2010 +0000 1.3 @@ -11,7 +11,12 @@ 1.4 WEB_SITE="http://mplayerplug-in.sourceforge.net/" 1.5 WGET_URL="http://downloads.sourceforge.net/mplayerplug-in/$TARBALL" 1.6 TAGS="player audio video browser" 1.7 -FIREFOX_VER=`cat $WOK/firefox/receipt | grep VERSION= | cut -d \" -f 2` 1.8 + 1.9 +get_firefox_version() 1.10 +{ 1.11 + FIREFOX_VER=`cat $1/var/lib/tazpkg/installed/firefox/receipt | \ 1.12 + grep VERSION= | cut -d \" -f 2` 1.13 +} 1.14 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 @@ -31,6 +36,7 @@ 1.18 EOT 1.19 make distclean 1.20 touch install.sh 1.21 + get_firefox_version 1.22 ./configure --prefix=/usr --sysconfdir=/etc \ 1.23 --enable-gtk2 \ 1.24 --enable-wmp \ 1.25 @@ -58,6 +64,7 @@ 1.26 echo -n "Processing post install commands..." 1.27 local root 1.28 root=$1 1.29 + get_firefox_version $1 1.30 for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do 1.31 ln -s $i $root/usr/lib/firefox-$FIREFOX_VER/plugins 1.32 done