opt/xulrunner/Pkgfile
Tilman Sauerbeck 37824e9cdd xulrunner: link against the system's sqlite.
This is required since we're linking nss against the system's sqlite
as well. Also added README which explains how to deal with ld.so.conf.
2008-06-27 19:30:29 +02:00

29 lines
715 B
Plaintext

# Description: Mozilla Web Browser Component
# URL: http://www.mozilla.com/firefox/
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: libidl, nss, gtk, perl, python, dbus-glib
name=xulrunner
version=1.9
release=3
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0/source/firefox-3.0-source.tar.bz2
mozconfig)
build() {
export MOZ_CO_PROJECT="xulrunner"
export XCFLAGS="$CFLAGS"
cd mozilla
# make configure accept our version of sqlite
sed -i -e 's/^SQLITE_VERSION=3.5.4$/SQLITE_VERSION=3.5/' configure
sed -e "s/#CFLAGS#/$CFLAGS/g" \
-e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \
$SRC/mozconfig > .mozconfig
./configure
make
make DESTDIR=$PKG install
}