summaryrefslogtreecommitdiffstats
path: root/extra/xulrunner/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 21:03:05 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 21:03:05 +0200
commitc00872c1ff75dca2cff5664b0ae6b3c98afff2ba (patch)
tree663643899f757916f31c3fbc35d3234c393e9785 /extra/xulrunner/Pkgfile
parent5abf0298b5d27dad00a5f5e910912e91e49a0fb7 (diff)
downloadnutyx-extra-c00872c1ff75dca2cff5664b0ae6b3c98afff2ba.tar.gz
nutyx-extra-c00872c1ff75dca2cff5664b0ae6b3c98afff2ba.tar.bz2
nutyx-extra-c00872c1ff75dca2cff5664b0ae6b3c98afff2ba.tar.xz
nutyx-extra-c00872c1ff75dca2cff5664b0ae6b3c98afff2ba.zip
Ajout de xulrunner#1.9.1.1-1
Diffstat (limited to 'extra/xulrunner/Pkgfile')
-rw-r--r--extra/xulrunner/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/xulrunner/Pkgfile b/extra/xulrunner/Pkgfile
new file mode 100644
index 000000000..6c9cfd919
--- /dev/null
+++ b/extra/xulrunner/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Paquet pour nécessaire pour certains plugins de Firefox
+# URL: http://xulfr.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libidl, nss, gtk, perl, python, dbus-glib, zip, alsa-lib
+
+name=xulrunner
+version=1.9.1.1
+release=1
+source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.1/source/firefox-3.5.1-source.tar.bz2 \
+ mozconfig $name.diff)
+
+build() {
+ export MOZ_CO_PROJECT="xulrunner"
+ export XCFLAGS="$CFLAGS"
+ cd mozilla-*
+ patch -Np1 -i $SRC/$name.diff
+ sed -e "s/#CFLAGS#/$CFLAGS/g" \
+ -e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \
+ $SRC/mozconfig > .mozconfig
+ ./configure
+ make -j3
+ 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
+}