Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 570 - (show annotations)
Sun Oct 4 15:04:31 2009 UTC (3 years, 7 months ago) by cjg
File size: 1029 byte(s)
firefox: updated to 3.0.7
1 # Description: Mozilla Web Browser Component
2 # URL: http://www.mozilla.com/firefox/
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Depends on: xulrunner
5 # PPC!= we have to set host
6 name=firefox
7 version=3.0.7
8 release=1
9 source=(http://releases.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version-source.tar.bz2
10 mozconfig xulrunner.patch)
11
12 build() {
13 export MOZ_CO_PROJECT=browser
14 export BUILD_OFFICIAL=1
15 export MOZILLA_OFFICIAL=1
16 export MOZILLA_FIVE_HOME=/usr/lib/firefox
17
18 cd mozilla
19 patch -p1 -i $SRC/xulrunner.patch
20 sed -e "s/#CFLAGS#/$CFLAGS/" $SRC/mozconfig > .mozconfig
21
22 ./configure --host=$MACHTYPE
23 make
24
25 install -d \
26 $PKG$MOZILLA_FIVE_HOME \
27 $PKG/usr/bin \
28 $PKG/usr/share/idl/firefox \
29 $PKG/usr/include/firefox
30
31 cp -rL dist/bin/* $PKG$MOZILLA_FIVE_HOME
32 ln -s /usr/lib/firefox/firefox $PKG/usr/bin/firefox
33
34 # devel stuff
35 cp -frL dist/idl/* $PKG/usr/share/idl/firefox/
36 cp -frL dist/include/* $PKG/usr/include/firefox/
37 }