summaryrefslogtreecommitdiff
path: root/xulrunner/Pkgfile
blob: 96ce2cc4626f61f2a83f28f9b01cdad4fca7df33 (plain)
    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, alsa-lib
    5 
    6 name=xulrunner
    7 version=1.9.1.4
    8 release=1
    9 source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.4/source/firefox-3.5.4.source.tar.bz2
   10         mozconfig $name.diff)
   11 
   12 build() {
   13 	export MOZ_CO_PROJECT="xulrunner"
   14 	export XCFLAGS="$CFLAGS"
   15 
   16 	cd mozilla-1.9.1
   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
   28 	make 
   29 	make DESTDIR=$PKG install
   30 
   31 	install -d $PKG/etc/ld.so.conf.d
   32 	echo "/usr/lib/$name-$version" > $PKG/etc/ld.so.conf.d/$name.conf
   33 }

Generated by cgit