Browse Source
git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21796 10447126-35f2-4685-b0cf-6dd780d3921fearly
Oliver Winston
18 years ago
2 changed files with 74 additions and 0 deletions
@ -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" |
@ -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 <zuberiw@gmail.com> |
||||
|
||||
[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 |
||||
|
Loading…
Reference in new issue