From baae90801e69a7d03eff4ab3189d3447256cbf64 Mon Sep 17 00:00:00 2001 From: Oliver Winston Date: Tue, 17 Jul 2007 21:10:19 +0000 Subject: [PATCH] * added googleearth (4.1.7076.4458) - Google Earth - view satellite images of the earth git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21796 10447126-35f2-4685-b0cf-6dd780d3921f --- network/googleearth/googleearth.conf | 40 ++++++++++++++++++++++++++++ network/googleearth/googleearth.desc | 34 +++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 network/googleearth/googleearth.conf create mode 100644 network/googleearth/googleearth.desc diff --git a/network/googleearth/googleearth.conf b/network/googleearth/googleearth.conf new file mode 100644 index 000000000..857013ae5 --- /dev/null +++ b/network/googleearth/googleearth.conf @@ -0,0 +1,40 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../googleearth/googleearth.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# comes as script with a bzip2 at the end so we need to find out +# how many bytes the archive is and then extract it using tail + +install_googleearth(){ + if [ $prefix_auto = 1 ] ; then + prefix="opt/google" + fi + googleebin="archdir/GoogleEarthLinux-*.bin" + binsize=$(strings $googleebin |grep "filesizes="|head -n 1|sed 's,[^0-9],,g') + mkdir googleearth + tail --bytes $binsize $googleebin | tar -xjf - -C googleearth + if [ ! -d $root/$prefix/google-earth ];then + mkdir -pv $root/$prefix/google-earth + fi + tar -xvf googleearth/googleearth-linux-x86.tar -C $root/$prefix/google-earth + tar -xvf googleearth/googleearth-data.tar -C $root/$prefix/google-earth + if [ ! -d $root/$prefix/bin ];then + mkdir -v $root/$prefix/bin + fi + install -m 755 googleearth/bin/* $root/$prefix/bin + cp -vf googleearth/*.html $docdir + echo "export GOOGLEEARTH_DATA_PATH=$root/$prefix/google-earth" > \ + $sysconfdir/profile.d/googleearth +} +autoextract=0 +custmain="install_googleearth" diff --git a/network/googleearth/googleearth.desc b/network/googleearth/googleearth.desc new file mode 100644 index 000000000..995b3d30d --- /dev/null +++ b/network/googleearth/googleearth.desc @@ -0,0 +1,34 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../googleearth/googleearth.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] Google Earth - view satellite images of the earth + +[T] Google Earth search for satellite image using an address, building name +[T] etc. + + +[U] http://earth.google.com/ + +[A] Google +[M] Oliver Winston + +[C] extra/network + +[L] Restricted +[S] Beta +[V] 4.1.7076.4458 +[P] O -----5---9 800.000 + +[D] 2202920759 GoogleEarthLinux-4.1.7076.4458.bin -!http://dl.google.com/earth/client/current/GoogleEarthLinux.bin +