2008-04-01 18:23:50 +02:00
|
|
|
# Description: Mozilla Web Browser Component
|
|
|
|
# URL: http://www.mozilla.com/firefox/
|
2010-05-13 23:34:28 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
2010-09-22 20:49:30 +02:00
|
|
|
# Depends on: xorg-libxt, libidl, nss, gtk, perl, python, dbus-glib, alsa-lib
|
2008-04-01 18:23:50 +02:00
|
|
|
|
|
|
|
name=xulrunner
|
2010-09-16 20:07:35 +02:00
|
|
|
version=1.9.2.10
|
2010-06-22 23:50:35 +02:00
|
|
|
release=1
|
2010-09-16 20:07:35 +02:00
|
|
|
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.10/source/firefox-3.6.10.source.tar.bz2
|
2010-01-21 21:08:40 +01:00
|
|
|
mozconfig)
|
2008-04-01 18:23:50 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
export MOZ_CO_PROJECT="xulrunner"
|
|
|
|
export XCFLAGS="$CFLAGS"
|
|
|
|
|
2010-01-21 21:08:40 +01:00
|
|
|
cd mozilla-1.9.2
|
2008-10-31 20:12:04 +01:00
|
|
|
|
2008-06-27 19:28:40 +02:00
|
|
|
# make configure accept our version of sqlite
|
2008-07-19 15:54:26 +02:00
|
|
|
sed -i -e 's/^SQLITE_VERSION=3.5.9$/SQLITE_VERSION=3.5/' configure
|
2008-06-27 19:28:40 +02:00
|
|
|
|
2008-06-21 13:44:37 +02:00
|
|
|
sed -e "s/#CFLAGS#/$CFLAGS/g" \
|
|
|
|
-e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \
|
|
|
|
$SRC/mozconfig > .mozconfig
|
2008-06-27 19:28:40 +02:00
|
|
|
|
2008-06-21 13:44:37 +02:00
|
|
|
./configure
|
|
|
|
make
|
2008-04-01 18:23:50 +02:00
|
|
|
make DESTDIR=$PKG install
|
2008-10-18 22:35:34 +02:00
|
|
|
|
|
|
|
install -d $PKG/etc/ld.so.conf.d
|
|
|
|
echo "/usr/lib/$name-$version" > $PKG/etc/ld.so.conf.d/$name.conf
|
2008-04-01 18:23:50 +02:00
|
|
|
}
|