diff options
author | orchidman <lesibel@free.fr> | 2011-07-24 19:07:42 +0200 |
---|---|---|
committer | orchidman <lesibel@free.fr> | 2011-07-24 19:07:42 +0200 |
commit | 162983172e20c4babc0171d3df77abe30969e47f (patch) | |
tree | cd3c4b727dfb8087616c2a9a184f8f40ff69c1fc /extra/xulrunner/Pkgfile | |
parent | b495dd2a4d277f9bf39e206bedf843d1b4afb135 (diff) | |
download | nutyx-extra-162983172e20c4babc0171d3df77abe30969e47f.tar.gz nutyx-extra-162983172e20c4babc0171d3df77abe30969e47f.tar.bz2 nutyx-extra-162983172e20c4babc0171d3df77abe30969e47f.tar.xz nutyx-extra-162983172e20c4babc0171d3df77abe30969e47f.zip |
xulrunner 5.0.1-1 maj
Diffstat (limited to 'extra/xulrunner/Pkgfile')
-rw-r--r-- | extra/xulrunner/Pkgfile | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/extra/xulrunner/Pkgfile b/extra/xulrunner/Pkgfile index 22b5a0c92..d5c5ab554 100644 --- a/extra/xulrunner/Pkgfile +++ b/extra/xulrunner/Pkgfile @@ -2,40 +2,35 @@ # URL: http://xulfr.org/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: nspr, libevent, nss, hunspell, gtk, startup-notification, libnotify, dbus-glib, yasm, alsa-lib, libidl, xorg-libxt, mesa3d - -#xorg-libxt, mime-types, python -# Run on: libidl,nss,gtk,python,dbus-glib,alsa-lib,libnotify +# Depends on: mesa3d, gconf, nspr, libevent, nss, hunspell, gtk, startup-notification, libnotify, dbus-glib, yasm, alsa-lib, libidl, xorg-libxt, xorg-libxrender +# Run on: libidl,nss,gtk,dbus-glib,alsa-lib,libnotify,xorg-libxrender,xorg-libxt,startup-notification,hunspell name=xulrunner -version=2.0.1 +version=5.0.1 release=1 -source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0.1/source/firefox-4.0.1.source.tar.bz2 \ - http://nutyx.meticul.eu/files/patchs/$name/mozconfig) +source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$version/source/firefox-$version.source.tar.bz2 \ + mozconfig + mozilla-pkgconfig.patch) build() { unset MAKEFLAGS unset CFLAGS unset CXXFLAGS + export CXXFLAGS="-fpermissive" - export MOZ_CO_PROJECT="xulrunner" + export MOZ_CO_PROJECT="$name" export XCFLAGS="$CFLAGS" - cd mozilla-2.0 - sed -e "s/#CFLAGS#/$CFLAGS/g" \ - -e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \ - $SRC/mozconfig > .mozconfig + export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-$version -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed" + + cd mozilla-release + cp $SRC/mozconfig .mozconfig - PYTHON=python2 ./configure --disable-necko-wifi + patch -p1 < ../mozilla-pkgconfig.patch - sed 's@stable@unstable@' \ - -i xulrunner/installer/mozilla-js.pc.in - echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in - make - make DESTDIR=$PKG install + make -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" + make -f client.mk DESTDIR=$PKG install install -d $PKG/etc/ld.so.conf.d echo "/usr/lib/$name-$version" > $PKG/etc/ld.so.conf.d/$name.conf - chown -R root:root $PKG - } |