summaryrefslogtreecommitdiffstats
path: root/extra/xulrunner/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-25 21:14:44 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-25 21:14:44 +0100
commitb5c4e791b8a682a2cfaccb9000ff9f5c65391826 (patch)
treeba8f4269040cb5ba2abc80c9ce910bb09a3a0b96 /extra/xulrunner/Pkgfile
parent992820e9be9f883e3bcb85e183e927876c0054d4 (diff)
downloadnutyx-extra-b5c4e791b8a682a2cfaccb9000ff9f5c65391826.tar.gz
nutyx-extra-b5c4e791b8a682a2cfaccb9000ff9f5c65391826.tar.bz2
nutyx-extra-b5c4e791b8a682a2cfaccb9000ff9f5c65391826.tar.xz
nutyx-extra-b5c4e791b8a682a2cfaccb9000ff9f5c65391826.zip
maj xulrunner#1.9.1.5-1
Diffstat (limited to 'extra/xulrunner/Pkgfile')
-rw-r--r--extra/xulrunner/Pkgfile14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/xulrunner/Pkgfile b/extra/xulrunner/Pkgfile
index c385838ad..b0c4f6b1b 100644
--- a/extra/xulrunner/Pkgfile
+++ b/extra/xulrunner/Pkgfile
@@ -5,24 +5,28 @@
# Depends on: libidl, nss, gtk, perl, python, dbus-glib, zip, alsa-lib
name=xulrunner
-version=1.9.1.3
+version=1.9.1.5
release=1
-source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.3/source/firefox-3.5.3.source.tar.bz2 \
- mozconfig $name.diff)
+source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.5/source/firefox-3.5.5.source.tar.bz2 \
+ mozconfig )
build() {
export MOZ_CO_PROJECT="xulrunner"
export XCFLAGS="$CFLAGS"
- cd mozilla-*
- patch -Np1 -i $SRC/$name.diff
+ cd mozilla-1.9.1
sed -e "s/#CFLAGS#/$CFLAGS/g" \
-e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \
$SRC/mozconfig > .mozconfig
+
./configure
+ sed 's@stable@unstable@' \
+ -i xulrunner/installer/mozilla-js.pc.in
+ echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in
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
+
}