[pkg-ggz-commits] r130 - /
Josef Spillner
josef-guest at costa.debian.org
Tue Oct 10 16:04:48 UTC 2006
Author: josef-guest
Date: 2006-10-10 16:04:48 +0000 (Tue, 10 Oct 2006)
New Revision: 130
Removed:
pkg-ggz-prepare.sh
Log:
- remove obsolete build preparation script
Deleted: pkg-ggz-prepare.sh
===================================================================
--- pkg-ggz-prepare.sh 2006-10-10 15:35:28 UTC (rev 129)
+++ pkg-ggz-prepare.sh 2006-10-10 16:04:48 UTC (rev 130)
@@ -1,70 +0,0 @@
-#!/bin/sh
-#
-# Automatic creation of debian packages from released GGZ tarballs
-# Needs 'debian' dirs from Alioth along with all the released tarballs themselves
-# Note: deletes all .svn directories in work directories
-#
-# Call: pkg-ggz-prepare.sh - for all steps (auto-builder)
-# pkg-ggz-prepare.sh prepare - for preparation only
-# pkg-ggz-prepare.sh build - for (re)build only
-
-pkgdir=.
-tarballdir=.
-version=0.0.13
-workdir=__debian_work__
-
-option=$1
-
-function build()
-{
-echo "Build not implemented yet!"
-exit
-
-cd $workdir
-for i in *; do
- if [ -d $i ]; then
- echo "debuild $i..."
- cd $i
- debuild >/dev/null
- cd ..
- fi
-done
-cd ..
-}
-
-function prepare()
-{
-rm -rf $workdir
-mkdir -p $workdir
-
-for i in $tarballdir/*-$version.tar.gz; do
- if [ -f $i ]; then
- base=`echo $i | sed -e "s/-$version.tar.gz//" | sed -e "s/.*\///"`
- if [ -d $pkgdir/$base ]; then
- echo "Prepare $base..."
- cp $i $workdir/$base\_$version.orig.tar.gz
- cd $workdir
- tar xzf $base\_$version.orig.tar.gz
- cp -r ../$pkgdir/$base $base-$version/debian
- rm -rf $base-$version/debian/.svn
- rm -rf $base-$version/debian/patches/.svn
- cd ..
- else
- echo "Skip $base..."
- fi
- else
- echo "Skip $i... (invalid tarball)"
- fi
-done
-
-cp -r $pkgdir/meta-ggz $workdir/meta-ggz-$version
-rm -rf $workdir/meta-ggz-$version/.svn
-}
-
-if test "x$option" = "x" || test "x$option" = "xprepare"; then
- prepare
-fi
-if test "x$option" = "x" || test "x$option" = "xbuild"; then
- build
-fi
-
More information about the pkg-ggz-commits
mailing list