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