summaryrefslogtreecommitdiffstats
path: root/extra/xulrunner/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-05-19 18:51:02 +0200
committersibel <lesibel@free.fr>2011-05-19 18:51:02 +0200
commit09d184ed8dc58a59cbc2e4218b101c3516e77467 (patch)
treecc0e5186ae1548d9fca02fc6b7a96f32e7c23a19 /extra/xulrunner/Pkgfile
parentc8f9f3d47552ace6957b3a8873778955e39aa972 (diff)
downloadnutyx-pakxe-09d184ed8dc58a59cbc2e4218b101c3516e77467.tar.gz
nutyx-pakxe-09d184ed8dc58a59cbc2e4218b101c3516e77467.tar.bz2
nutyx-pakxe-09d184ed8dc58a59cbc2e4218b101c3516e77467.tar.xz
nutyx-pakxe-09d184ed8dc58a59cbc2e4218b101c3516e77467.zip
xulrunner 2.0.1 ajout
Diffstat (limited to 'extra/xulrunner/Pkgfile')
-rw-r--r--extra/xulrunner/Pkgfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/extra/xulrunner/Pkgfile b/extra/xulrunner/Pkgfile
new file mode 100644
index 000000000..22b5a0c92
--- /dev/null
+++ b/extra/xulrunner/Pkgfile
@@ -0,0 +1,41 @@
+# Description: Paquet nécessaire pour certains plugins de Firefox
+# 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
+
+name=xulrunner
+version=2.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)
+
+build() {
+ unset MAKEFLAGS
+ unset CFLAGS
+ unset CXXFLAGS
+ export CXXFLAGS="-fpermissive"
+ export MOZ_CO_PROJECT="xulrunner"
+ export XCFLAGS="$CFLAGS"
+ cd mozilla-2.0
+ sed -e "s/#CFLAGS#/$CFLAGS/g" \
+ -e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \
+ $SRC/mozconfig > .mozconfig
+
+ PYTHON=python2 ./configure --disable-necko-wifi
+
+ 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
+
+ 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
+
+}
+