blob: 0100ebcc55d0527ddf091640f082f05d814c3d86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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, python, dbus-glib, zip, alsa-lib
name=xulrunner
version=1.9.1.6
release=1
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.6/source/firefox-3.5.6.source.tar.bz2 \
mozconfig )
build() {
export MOZ_CO_PROJECT="xulrunner"
export XCFLAGS="$CFLAGS"
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
}
|