CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 271 -
(hide annotations)
Sun Oct 4 15:02:10 2009 UTC (3 years, 7 months ago) by cjg
File size: 1017 byte(s)
Sun Oct 4 15:02:10 2009 UTC (3 years, 7 months ago) by cjg
File size: 1017 byte(s)
firefox: updated to 3.0.4
| 1 | cjg | 201 | # 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 | |||
| 6 | name=firefox | ||
| 7 | cjg | 271 | version=3.0.4 |
| 8 | release=1 | ||
| 9 | cjg | 201 | 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 | ./configure --host=powerpc-unknown-linux-gnu | ||
| 22 | make | ||
| 23 | |||
| 24 | install -d \ | ||
| 25 | $PKG$MOZILLA_FIVE_HOME \ | ||
| 26 | $PKG/usr/bin \ | ||
| 27 | $PKG/usr/share/idl/firefox \ | ||
| 28 | $PKG/usr/include/firefox | ||
| 29 | |||
| 30 | cp -rL dist/bin/* $PKG$MOZILLA_FIVE_HOME | ||
| 31 | ln -s /usr/lib/firefox/firefox $PKG/usr/bin/firefox | ||
| 32 | |||
| 33 | # devel stuff | ||
| 34 | cp -frL dist/idl/* $PKG/usr/share/idl/firefox/ | ||
| 35 | cp -frL dist/include/* $PKG/usr/include/firefox/ | ||
| 36 | } |