[Lunar-commits] <moonbase> thunderbird-bin: Added the binary version of thunderbird 2.0.0.23 to moonbase

Terry Chan tchan at lunar-linux.org
Mon Dec 7 22:09:01 CET 2009


commit 205491042c416cd2ed18a9df02487a86f9a156d7
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Mon Dec 7 15:09:01 2009 -0600

    thunderbird-bin: Added the binary version of thunderbird 2.0.0.23 to moonbase
---
 mail/thunderbird-bin/BUILD        |   18 ++++++++++++++++++
 mail/thunderbird-bin/DETAILS      |   22 ++++++++++++++++++++++
 mail/thunderbird-bin/POST_INSTALL |   13 +++++++++++++
 mail/thunderbird-bin/PRE_BUILD    |    3 +++
 4 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/mail/thunderbird-bin/BUILD b/mail/thunderbird-bin/BUILD
new file mode 100644
index 0000000..10c17ca
--- /dev/null
+++ b/mail/thunderbird-bin/BUILD
@@ -0,0 +1,18 @@
+(
+
+  prepare_install   &&
+  message "${MESSAGE_COLOR}Installing Thunderbird ${VERSION}...${DEFAULT_COLOR}"  &&
+  cd /opt/lunar &&
+  unpack $SOURCE &&
+
+  if [ ! -h /usr/bin/thunderbird ]; then
+    ln -snf /opt/lunar/thunderbird/thunderbird /usr/bin/thunderbird
+  fi
+
+    # Now the .desktop file and the icon
+#   mkdir -p /usr/share/applications /usr/share/pixmaps &&
+#   install -m644 $SOURCE_CACHE/$SOURCE2 /usr/share/applications &&
+#   rm -f /usr/share/pixmaps/thunderbird.xpm &&
+#   install -m644 $MOZILLA_HOME/icons/mozicon50.xpm /usr/share/pixmaps
+
+) > $C_FIFO 2>&1
diff --git a/mail/thunderbird-bin/DETAILS b/mail/thunderbird-bin/DETAILS
new file mode 100644
index 0000000..d4bce36
--- /dev/null
+++ b/mail/thunderbird-bin/DETAILS
@@ -0,0 +1,22 @@
+          MODULE=thunderbird-bin
+         VERSION=2.0.0.23
+          SOURCE=thunderbird-$VERSION.tar.gz
+         SOURCE2=thunderbird.desktop
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
+   SOURCE_URL[0]=ftp://mozilla.isc.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/en-US
+   SOURCE_URL[1]=ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/en-US
+   SOURCE_URL[2]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/en-US
+   SOURCE_URL[3]=http://archive.progeny.com/mozilla.org/thunderbird/releases/$VERSION/linux-i686/en-US
+      SOURCE_VFY=sha1:1f7b64251a3f465467c62dfd03ad9fc4c5e14b66
+     SOURCE2_URL=$PATCH_URL
+     SOURCE2_VFY=sha1:88f83d8dda242f34d0f1bb58c4a0b98d353ef7e1
+        WEB_SITE=http://www.mozilla.org/projects/thunderbird
+         ENTERED=20091207
+         UPDATED=20091207
+         ARCHIVE=off
+           SHORT="A full-featured mail client"
+cat << EOF
+This is the pre-compiled binary version of thunderbird. It installs into /opt by
+default. It does NOT conflict with the regular lunar thunderbird module. Only
+works with kernels and glibc that provide Thread Local Storage (TLS).
+EOF
diff --git a/mail/thunderbird-bin/POST_INSTALL b/mail/thunderbird-bin/POST_INSTALL
new file mode 100644
index 0000000..1ab246f
--- /dev/null
+++ b/mail/thunderbird-bin/POST_INSTALL
@@ -0,0 +1,13 @@
+TBIRD_HOME=/opt/lunar
+TBIRD_LIBDIR=thunderbird
+
+# No more linking workarounds
+export LD_LIBRARY_PATH="$TBIRD_HOME/$TBIRD_LIBDIR:$TBIRD_HOME/plugins:$TBIRD_HOME/$TBIRD_LIBDIR/components"
+export MOZILLA_FIVE_HOME="$TBIRD_HOME/$TBIRD_LIBDIR"
+ldconfig
+
+#echo "skin,install,select,classic/1.0" >> $TBIRD_HOME/$TBIRD_LIBDIR/chrome/installed-chrome.txt
+#echo "locale,install,select,en-US" >> $TBIRD_HOME/$TBIRD_LIBDIR/chrome/installed-chrome.txt
+
+#cd $TBIRD_HOME/$TBIRD_LIBDIR
+#./regxpcom
diff --git a/mail/thunderbird-bin/PRE_BUILD b/mail/thunderbird-bin/PRE_BUILD
new file mode 100644
index 0000000..a88eb61
--- /dev/null
+++ b/mail/thunderbird-bin/PRE_BUILD
@@ -0,0 +1,3 @@
+if [ -d /opt/lunar/thunderbird ]; then
+  rm -rf /opt/lunar/thunderbird
+fi


More information about the Lunar-commits mailing list