[Lunar-commits] <moonbase> xulrunner: updated to 1.9.2.17 and clean up old ver
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Fri Apr 29 02:08:53 CEST 2011
commit 8ff791a367032c0d2c95c80f8abbf319811cc87e
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Fri Apr 29 02:08:53 2011 +0200
xulrunner: updated to 1.9.2.17 and clean up old ver
---
web/xulrunner/CONFLICTS | 1 +
web/xulrunner/DETAILS | 6 +++---
web/xulrunner/POST_INSTALL | 17 +++++++++++++++++
3 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/web/xulrunner/CONFLICTS b/web/xulrunner/CONFLICTS
new file mode 100644
index 0000000..72db570
--- /dev/null
+++ b/web/xulrunner/CONFLICTS
@@ -0,0 +1 @@
+conflicts xulrunner2
diff --git a/web/xulrunner/DETAILS b/web/xulrunner/DETAILS
index 184bd72..4500a8b 100644
--- a/web/xulrunner/DETAILS
+++ b/web/xulrunner/DETAILS
@@ -1,14 +1,14 @@
MODULE=xulrunner
- VERSION=1.9.2.15
+ VERSION=1.9.2.17
SOURCE=$MODULE-$VERSION.source.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla-1.9.2
SOURCE_URL[0]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/$MODULE/releases/$VERSION/source/
SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
- SOURCE_VFY=sha1:7dfd46e5d2baef249720e30ffb23505d50a5f1ec
+ SOURCE_VFY=sha1:bfb3ae71abef0693a9a42be5e9b2525d2e20e7ae
WEB_SITE=http://www.mozilla.org
ENTERED=20080624
- UPDATED=20110315
+ UPDATED=20110428
SHORT="a XUL runtime that requires no browser"
PSAFE=no
cat << EOF
diff --git a/web/xulrunner/POST_INSTALL b/web/xulrunner/POST_INSTALL
new file mode 100644
index 0000000..7d7e62e
--- /dev/null
+++ b/web/xulrunner/POST_INSTALL
@@ -0,0 +1,17 @@
+OLD_VER="`get_module_config OLD_VER`"
+NEW_VER="`get_module_config NEW_VER`"
+XULRUNNER_HOME=/usr
+XUL_LIBDIR=xulrunner-$NEW_VER
+
+if [ ! -z "$OLD_VER" ] && [ "$OLD_VER" != "$NEW_VER" ] ; then
+ for old_version in $OLD_VER
+ do
+ rm -rf /usr/lib/xulrunner-$old_version
+ rm -rf /usr/lib/xulrunner-devel-$old_version
+ rm -rf /usr/include/xulrunner-$old_version
+ rm -rf /usr/share/idl/xulrunner-$old_version
+ rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/xulrunner-$old_version
+ done
+fi
+
+unset_module_config OLD_VER
More information about the Lunar-commits
mailing list