CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 40 -
(show annotations)
Sun Oct 4 14:31:45 2009 UTC (3 years, 7 months ago) by cjg
File size: 801 byte(s)
Sun Oct 4 14:31:45 2009 UTC (3 years, 7 months ago) by cjg
File size: 801 byte(s)
xulrunner: added a patch
| 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: libidl, nss, gtk, perl, python, dbus-glib |
| 5 | |
| 6 | name=xulrunner |
| 7 | version=1.9.0.3 |
| 8 | release=2 |
| 9 | source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.3/source/firefox-3.0.3-source.tar.bz2 |
| 10 | $name.diff mozconfig) |
| 11 | |
| 12 | build() { |
| 13 | export MOZ_CO_PROJECT="xulrunner" |
| 14 | export XCFLAGS="$CFLAGS" |
| 15 | |
| 16 | cd mozilla |
| 17 | |
| 18 | patch -Np1 -i $SRC/$name.diff |
| 19 | |
| 20 | # make configure accept our version of sqlite |
| 21 | sed -i -e 's/^SQLITE_VERSION=3.5.9$/SQLITE_VERSION=3.5/' configure |
| 22 | |
| 23 | sed -e "s/#CFLAGS#/$CFLAGS/g" \ |
| 24 | -e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \ |
| 25 | $SRC/mozconfig > .mozconfig |
| 26 | |
| 27 | ./configure --host=powerpc-unknown-linux-gnu |
| 28 | make |
| 29 | make DESTDIR=$PKG install |
| 30 | } |