[Lunar-commits] <moonbase-other> thunderbird-bin: Re-adding this to moonbase-other and version bujmped to 14.0, installs into /usr/lib/thunderbird, no more /opt, auke has spoken

Terry Chan tchan at lunar-linux.org
Wed Jul 25 07:26:04 CEST 2012


commit 789890e727b3828383ea49dac18cb064bceca13b
Author: Terry Chan <tchan at lunar-linux.org>
Date: Tue, 24 Jul 2012 22:26:04 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/789890e727b3828383ea49dac18cb064bceca13b

thunderbird-bin: Re-adding this to moonbase-other and version bujmped to 14.0, installs into /usr/lib/thunderbird, no more /opt, auke has spoken
---
  mail/thunderbird-bin/BUILD                                   +16/-0    
  mail/thunderbird-bin/DETAILS                                 +20/-0    
  mail/thunderbird-bin/DETAILS.x86_64                          +20/-0    
  mail/thunderbird-bin/POST_INSTALL                            +8/-0     
  mail/thunderbird-bin/PRE_BUILD                               +3/-0     
  mail/thunderbird-bin/thunderbird-bin.desktop                 +12/-0    
  6 files changed, 79 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/mail/thunderbird-bin/BUILD
@@ -0,0 +1,16 @@
+(
+
+  prepare_install  &&
+  message "${MESSAGE_COLOR}Installing Thunderbird ${VERSION}...${DEFAULT_COLOR}"  &&
+  cd /usr/lib/ &&
+  unpack $SOURCE  &&
+
+  if [ ! -h /usr/bin/thunderbird ]; then
+    ln -snf /usr/lib/thunderbird/thunderbird /usr/bin/thunderbird
+  fi &&
+
+  # Now the .desktop file and the icon
+  mkdir -p /usr/share/applications &&
+  install -m644 $SCRIPT_DIRECTORY/thunderbird-bin.desktop /usr/share/applications
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/mail/thunderbird-bin/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=thunderbird-bin
+         VERSION=14.0
+          SOURCE=thunderbird-$VERSION.tar.bz2
+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:7750e60b202a3e1db69f3e6fbc68573e819e3770
+        WEB_SITE=http://www.mozilla.org/projects/thunderbird
+         ENTERED=20091207
+         UPDATED=20120724
+         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
--- /dev/null
+++ b/mail/thunderbird-bin/DETAILS.x86_64
@@ -0,0 +1,20 @@
+          MODULE=thunderbird-bin
+         VERSION=14.0
+          SOURCE=thunderbird-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
+   SOURCE_URL[0]=ftp://mozilla.isc.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-x86_64/en-US
+   SOURCE_URL[1]=ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-x86_64/en-US
+   SOURCE_URL[2]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/thunderbird/releases/$VERSION/linux-x86_64/en-US
+   SOURCE_URL[3]=http://archive.progeny.com/mozilla.org/thunderbird/releases/$VERSION/linux-x86_64/en-US
+      SOURCE_VFY=sha1:8f97c25425dc234f4c7050f919526cd42e42f5d8
+        WEB_SITE=http://www.mozilla.org/projects/thunderbird
+         ENTERED=20091207
+         UPDATED=20120724
+         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
--- /dev/null
+++ b/mail/thunderbird-bin/POST_INSTALL
@@ -0,0 +1,8 @@
+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
+rm -f /usr/share/pixmaps/{thunderbird.xpm,mozicon50.xpm}
--- /dev/null
+++ b/mail/thunderbird-bin/PRE_BUILD
@@ -0,0 +1,3 @@
+if [ -d /opt/lunar/thunderbird ]; then
+  rm -rf /opt/lunar/thunderbird
+fi
--- /dev/null
+++ b/mail/thunderbird-bin/thunderbird-bin.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Thunderbird Mail
+Name[pl]=Poczta Thunderbird
+Comment=Thunderbird Mail Client
+Exec=thunderbird
+Icon=/opt/lunar/thunderbird/chrome/icons/default/default48.png
+Terminal=false
+Type=Application
+Categories=Application;Network;
+Comment[pl]=Thunderbird - klient poczty
+X-KDE-StartupNotify=true




More information about the Lunar-commits mailing list