From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- xulrunner/Pkgfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 xulrunner/Pkgfile (limited to 'xulrunner/Pkgfile') diff --git a/xulrunner/Pkgfile b/xulrunner/Pkgfile new file mode 100644 index 000000000..98ea20e56 --- /dev/null +++ b/xulrunner/Pkgfile @@ -0,0 +1,36 @@ +# 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: 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=7.0.1 +release=1 +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="$name" + export XCFLAGS="$CFLAGS" + export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-$version -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed" + + cd mozilla-release + cp $SRC/mozconfig .mozconfig + + patch -p1 < ../mozilla-pkgconfig.patch + + 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 +} + -- cgit v1.2.3-54-g00ecf