Added xulrunner-1.9.1.6 build template.

--HG--
extra : convert_revision : 60e1fee1d51395a4b9eeb802b367dcdd9f53d97b
This commit is contained in:
Juan RP 2009-12-21 23:07:47 +01:00
parent 40db192f56
commit 799fa83998
5 changed files with 86 additions and 0 deletions

1
srcpkgs/xulrunner-devel Symbolic link
View file

@ -0,0 +1 @@
xulrunner

View file

@ -0,0 +1,2 @@
abi_depends=">=1.9.1"
api_depends="${abi_depends}"

View file

@ -0,0 +1,11 @@
--- xulrunner/installer/Makefile.in.ver 2007-12-14 09:51:34.000000000 +0100
+++ xulrunner/installer/Makefile.in 2007-12-14 09:52:03.000000000 +0100
@@ -44,6 +44,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
+MOZ_APP_VERSION="1.9.1"
+
NO_PKG_FILES = \
xulrunner-config \
regchrome* \

View file

@ -0,0 +1,48 @@
# Template build file for 'xulrunner'.
pkgname=xulrunner
_xulver=1.9.1
_ffver=3.5.6
version=${_xulver}.6
wrksrc=mozilla-${_xulver}
distfiles="${MOZILLA_SITE}/firefox/releases/${_ffver}/source/firefox-${_ffver}.source.tar.bz2"
build_style=gnu_configure
LDFLAGS="-Wl,-R/usr/lib/${pkgname}-${_xulver}"
configure_args="--enable-application=xulrunner --enable-libxul
--disable-crashreporter --disable-tests --disable-debug --enable-dbus
--enable-startup-notification --enable-canvas --enable-svg
--disable-mochitest --enable-strip --enable-pango --enable-optimize
--disable-embedding-tests --disable-installer --disable-oji
--disable-javaxpcom --disable-necko-wifi --disable-updater
--disable-gnomevfs --disable-gnomeui --disable-dbm --with-pthreads
--with-system-zlib --with-system-bz2 --enable-system-cairo
--with-system-png --with-system-jpeg --with-system-sqlite
--with-system-nspr --with-system-nss --enable-safe-browsing"
short_desc="XML User Interface Language runtime environment"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=60462020c1935702cf87928a886778b3b52e73b0121a8264630b72d370ea3fd1
long_desc="
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the Gecko
runtime environment"
subpackages="$pkgname-devel"
Add_dependency run libstdc++
Add_dependency run gtk+
Add_dependency run alsa-lib
Add_dependency run sqlite
Add_dependency run libIDL
Add_dependency run nss
Add_dependency run libnotify
Add_dependency run dbus-glib
Add_dependency run startup-notification
Add_dependency build zip
Add_dependency build python
Add_dependency build bison
Add_dependency build gtk+-devel
Add_dependency build alsa-lib-devel
Add_dependency build sqlite-devel
Add_dependency build libIDL-devel
Add_dependency build nss-devel
Add_dependency build libnotify-devel
Add_dependency build dbus-glib-devel
Add_dependency build startup-notification-devel

View file

@ -0,0 +1,24 @@
# Template file for 'xulrunner-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run gtk+-devel
Add_dependency run dbus-glib-devel
Add_dependency run libIDL-devel
Add_dependency run sqlite-devel
Add_dependency run nss-devel
Add_dependency run startup-notification-devel
Add_dependency run alsa-lib-devel
Add_dependency run xulrunner
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/xulrunner-devel-* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}