CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 892 -
(show annotations)
Sun Oct 4 15:10:41 2009 UTC (3 years, 8 months ago) by cjg
File size: 909 byte(s)
Sun Oct 4 15:10:41 2009 UTC (3 years, 8 months ago) by cjg
File size: 909 byte(s)
xulrunner: added PPC!= tag
| 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 | # PPC!= |
| 6 | |
| 7 | name=xulrunner |
| 8 | version=1.9.0.5 |
| 9 | release=1 |
| 10 | source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.5/source/firefox-3.0.5-source.tar.bz2 |
| 11 | mozconfig $name.diff) |
| 12 | |
| 13 | build() { |
| 14 | export MOZ_CO_PROJECT="xulrunner" |
| 15 | export XCFLAGS="$CFLAGS" |
| 16 | |
| 17 | cd mozilla |
| 18 | |
| 19 | patch -Np1 -i $SRC/$name.diff |
| 20 | |
| 21 | # make configure accept our version of sqlite |
| 22 | sed -i -e 's/^SQLITE_VERSION=3.5.9$/SQLITE_VERSION=3.5/' configure |
| 23 | |
| 24 | sed -e "s/#CFLAGS#/$CFLAGS/g" \ |
| 25 | -e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \ |
| 26 | $SRC/mozconfig > .mozconfig |
| 27 | |
| 28 | ./configure --host=powerpc-unknown-linux-gnu |
| 29 | make |
| 30 | make DESTDIR=$PKG install |
| 31 | |
| 32 | install -d $PKG/etc/ld.so.conf.d |
| 33 | echo "/usr/lib/$name-$version" > $PKG/etc/ld.so.conf.d/$name.conf |
| 34 | } |