opt/xulrunner/Pkgfile

29 lines
723 B
Plaintext
Raw Normal View History

2008-04-01 12:23:50 -04:00
# Description: Mozilla Web Browser Component
# URL: http://www.mozilla.com/firefox/
2008-06-21 13:44:37 +02:00
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: libidl, nss, gtk, perl, python, dbus-glib
2008-04-01 12:23:50 -04:00
name=xulrunner
version=1.9.0.1
release=1
2008-07-19 22:43:45 +02:00
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.1/source/firefox-3.0.1-source.tar.bz2
2008-06-21 13:44:37 +02:00
mozconfig)
2008-04-01 12:23:50 -04:00
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.9$/SQLITE_VERSION=3.5/' configure
2008-06-21 13:44:37 +02:00
sed -e "s/#CFLAGS#/$CFLAGS/g" \
-e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \
$SRC/mozconfig > .mozconfig
2008-06-21 13:44:37 +02:00
./configure
make
2008-04-01 12:23:50 -04:00
make DESTDIR=$PKG install
}