Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 270 - (show annotations)
Sun Oct 4 15:02:09 2009 UTC (3 years, 8 months ago) by cjg
File size: 800 byte(s)
xulrunner: updated to 1.9.0.4
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.4
8 release=1
9 source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.4/source/firefox-3.0.4-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 }