summaryrefslogtreecommitdiff
path: root/network/googlecl
diff options
context:
space:
mode:
authorJakob Nylin <jakob[dot]nylin[at]gmail[dot]com>2010-06-29 22:50:59 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-29 22:50:59 -0500
commitbe31bcffe43b33158cba8b32923fa1e70be448f0 (patch)
tree26e17f69a56dd0573ca65f07993d96fc25f12630 /network/googlecl
parent7174ecea5a0099cc50c78394de9ff367ae0c8d82 (diff)
downloadslackbuilds-be31bcffe43b33158cba8b32923fa1e70be448f0.tar.gz
network/googlecl: Added (CLI for some google apps)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/googlecl')
-rw-r--r--network/googlecl/README5
-rw-r--r--network/googlecl/googlecl.SlackBuild55
-rw-r--r--network/googlecl/googlecl.info10
-rw-r--r--network/googlecl/slack-desc19
4 files changed, 89 insertions, 0 deletions
diff --git a/network/googlecl/README b/network/googlecl/README
new file mode 100644
index 0000000000..fede3ee4f6
--- /dev/null
+++ b/network/googlecl/README
@@ -0,0 +1,5 @@
+GoogleCL provides command-line access to some Google Services via the
+Google Data APIs (Google Data). Currently the following Google services
+are supported: Blogger, Calendar, Contacts, Docs, Picasa, Youtube.
+
+This requires gdata.
diff --git a/network/googlecl/googlecl.SlackBuild b/network/googlecl/googlecl.SlackBuild
new file mode 100644
index 0000000000..3199e62212
--- /dev/null
+++ b/network/googlecl/googlecl.SlackBuild
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+# Slackware build script for googlecl
+
+# Written by Jakob Nylin <jakob[dot]nylin[at]gmail[dot]com>
+
+PRGNAM=googlecl
+VERSION=${VERSION:-0.9.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+python setup.py install --root=$PKG
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c man/google.1 > $PKG/usr/man/man1/google.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ INSTALL.txt README* changelog \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/googlecl/googlecl.info b/network/googlecl/googlecl.info
new file mode 100644
index 0000000000..2dbb38cb92
--- /dev/null
+++ b/network/googlecl/googlecl.info
@@ -0,0 +1,10 @@
+PRGNAM="googlecl"
+VERSION="0.9.7"
+HOMEPAGE="http://code.google.com/p/googlecl/"
+DOWNLOAD="http://googlecl.googlecode.com/files/googlecl-0.9.7.tar.gz"
+MD5SUM="936bdb036c340eb1f9d5b9b6b592e1b2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Jakob Nylin"
+EMAIL="jakob[dot]nylin[at]gmail[dot]com"
+APPROVED="rworkman"
diff --git a/network/googlecl/slack-desc b/network/googlecl/slack-desc
new file mode 100644
index 0000000000..09b9d408f8
--- /dev/null
+++ b/network/googlecl/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+googlecl: googlecl (Google services on the command-line)
+googlecl:
+googlecl: GoogleCL is a command-line utility that provides access to the
+googlecl: following Google Services: Blogger, Calendar, Contacts, Docs,
+googlecl: Picasa, Youtube
+googlecl:
+googlecl: Homepage: http://code.google.com/p/googlecl/
+googlecl:
+googlecl:
+googlecl:
+googlecl: