From be31bcffe43b33158cba8b32923fa1e70be448f0 Mon Sep 17 00:00:00 2001 From: Jakob Nylin Date: Tue, 29 Jun 2010 22:50:59 -0500 Subject: network/googlecl: Added (CLI for some google apps) Signed-off-by: Robby Workman --- network/googlecl/README | 5 ++++ network/googlecl/googlecl.SlackBuild | 55 ++++++++++++++++++++++++++++++++++++ network/googlecl/googlecl.info | 10 +++++++ network/googlecl/slack-desc | 19 +++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 network/googlecl/README create mode 100644 network/googlecl/googlecl.SlackBuild create mode 100644 network/googlecl/googlecl.info create mode 100644 network/googlecl/slack-desc 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 + +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: -- cgit v1.2.3