[DebianGIS-dev] CVS Update: musmap create_package.sh

2006-03-28 Thread mparent-guest

  User: mparent-guest
  Date: 06/03/28 11:31:10

  Modified:.create_package.sh
  Log:
  command line options
  
  Revision  ChangesPath
  1.4   +36 -22musmap/create_package.sh
  
  CVSWEB Options: ---
  
  CVSWeb: Annotate this file:
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh?annotate=1.4cvsroot=
  
  CVSWeb: View this file: 
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh?rev=1.4content-type=text/x-cvsweb-markupcvsroot=
  
  CVSWeb: Diff to previous version:   
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh.diff?r1=1.4r2=1.3cvsroot=
  
  ---
  
  Index: create_package.sh
  ===
  RCS file: /cvsroot/pkg-grass/musmap/create_package.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- create_package.sh 28 Mar 2006 10:48:10 -  1.3
  +++ create_package.sh 28 Mar 2006 11:31:10 -  1.4
  @@ -6,29 +6,43 @@
   MUSMAP_PKG_SOURCE=`pwd`
   #Musmap source
   MUSMAP_SOURCE=$MUSMAP_PKG_SOURCE/../../musmap/musmap
  -
   #Original source
   MUSMAP_ORIG_TARGET=$MUSMAP_PKG_SOURCE/musmap-$MUSMAP_VERSION.orig
  -mkdir -v $MUSMAP_ORIG_TARGET
  -cp -R $MUSMAP_SOURCE/* $MUSMAP_ORIG_TARGET
  -#== cleaning
  -find $MUSMAP_ORIG_TARGET -name CVS| xargs --no-run-if-empty rm -fr
  -find $MUSMAP_ORIG_TARGET -name .cvsignore | xargs --no-run-if-empty rm -f
  -find $MUSMAP_ORIG_TARGET -name *~   | xargs --no-run-if-empty rm -f
  -
  -#Patched target
  +#target
   MUSMAP_TARGET=$MUSMAP_PKG_SOURCE/musmap-$MUSMAP_VERSION
  -mkdir -v $MUSMAP_TARGET
  -cp -R $MUSMAP_ORIG_TARGET/* $MUSMAP_TARGET
  -
  -#Debian-specific
  -cp -R $MUSMAP_PKG_SOURCE/debian $MUSMAP_TARGET
  -find $MUSMAP_TARGET/debian -name CVS| xargs --no-run-if-empty rm 
-fr
  -find $MUSMAP_TARGET/debian -name .cvsignore | xargs --no-run-if-empty rm -f
  -find $MUSMAP_TARGET/debian -name *~   | xargs --no-run-if-empty rm -f
   
  -cd $MUSMAP_TARGET
  -yada rebuild
  -su  root dpkg-buildpackage -sa -tc
  -#rm -R -f $MUSMAP_ORIG_TARGET
  -rm -R -f $MUSMAP_TARGET
  +case $1 in
  +  )
  +mkdir -v $MUSMAP_ORIG_TARGET
  +cp -R $MUSMAP_SOURCE/* $MUSMAP_ORIG_TARGET
  +#== cleaning
  +find $MUSMAP_ORIG_TARGET -name CVS| xargs --no-run-if-empty rm 
-fr
  +find $MUSMAP_ORIG_TARGET -name .cvsignore | xargs --no-run-if-empty rm 
-f
  +find $MUSMAP_ORIG_TARGET -name *~   | xargs --no-run-if-empty rm 
-f
  +
  +#Patched target
  +mkdir -v $MUSMAP_TARGET
  +cp -R $MUSMAP_ORIG_TARGET/* $MUSMAP_TARGET
  +
  +#Debian-specific
  +cp -R $MUSMAP_PKG_SOURCE/debian $MUSMAP_TARGET
  +find $MUSMAP_TARGET/debian -name CVS| xargs --no-run-if-empty 
rm -fr
  +find $MUSMAP_TARGET/debian -name .cvsignore | xargs --no-run-if-empty 
rm -f
  +find $MUSMAP_TARGET/debian -name *~   | xargs --no-run-if-empty 
rm -f
  +
  +cd $MUSMAP_TARGET
  +yada rebuild
  +su  root dpkg-buildpackage -sa -tc
  +#rm -R -f $MUSMAP_ORIG_TARGET
  +rm -R -f $MUSMAP_TARGET
  +  ;;
  +  --version)
  +echo Musmap debian packager, version $Revision$
  +echo Current Musmap version in changelog: $MUSMAP_VERSION
  +  ;;
  +  --help|*)
  +echo usage: $0
  +echo Musmap upstream source should be in '$MUSMAP_SOURCE'
  +echo yada package is required
  +  ;;
  +esac
  
  
  

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] CVS Update: musmap create_package.sh

2006-01-16 Thread mparent-guest

  User: mparent-guest
  Date: 06/01/16 22:47:41

  Modified:.create_package.sh
  Log:
  New package creation script with .diff file
  
  Revision  ChangesPath
  1.2   +32 -5 musmap/create_package.sh
  
  CVSWEB Options: ---
  
  CVSWeb: Annotate this file:
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh?annotate=1.2cvsroot=
  
  CVSWeb: View this file: 
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh?rev=1.2content-type=text/x-cvsweb-markupcvsroot=
  
  CVSWeb: Diff to previous version:   
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh.diff?r1=1.2r2=1.1cvsroot=
  
  ---
  
  Index: create_package.sh
  ===
  RCS file: /cvsroot/pkg-grass/musmap/create_package.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- create_package.sh 12 Jan 2006 20:12:26 -  1.1
  +++ create_package.sh 16 Jan 2006 22:47:41 -  1.2
  @@ -1,7 +1,34 @@
   #!/bin/sh
  -cd ../../musmap/musmap
  -ln -s ../../pkg-grass/musmap/debian .
  +cd `dirname $0`
  +#Musmap version
  +MUSMAP_VERSION=$(expr `dpkg-parsechangelog 2/dev/null | grep 'Version:' ` 
: 'Version:\ *\(.*\)*')
  +#Musmap debian package source
  +MUSMAP_PKG_SOURCE=`pwd`
  +#Musmap source
  +MUSMAP_SOURCE=$MUSMAP_PKG_SOURCE/../../musmap/musmap
  +
  +#Original source
  +MUSMAP_ORIG_TARGET=$MUSMAP_PKG_SOURCE/musmap-$MUSMAP_VERSION.orig
  +mkdir -v $MUSMAP_ORIG_TARGET
  +cp -R $MUSMAP_SOURCE/* $MUSMAP_ORIG_TARGET
  +#== cleaning
  +find $MUSMAP_ORIG_TARGET -name CVS| xargs --no-run-if-empty rm -fr
  +find $MUSMAP_ORIG_TARGET -name .cvsignore | xargs --no-run-if-empty rm -f
  +find $MUSMAP_ORIG_TARGET -name *~   | xargs --no-run-if-empty rm -f
  +
  +#Patched target
  +MUSMAP_TARGET=$MUSMAP_PKG_SOURCE/musmap-$MUSMAP_VERSION
  +mkdir -v $MUSMAP_TARGET
  +cp -R $MUSMAP_ORIG_TARGET/* $MUSMAP_TARGET
  +
  +#Debian-specific
  +cp -R $MUSMAP_PKG_SOURCE/debian $MUSMAP_TARGET
  +find $MUSMAP_TARGET/debian -name CVS| xargs --no-run-if-empty rm 
-fr
  +find $MUSMAP_TARGET/debian -name .cvsignore | xargs --no-run-if-empty rm -f
  +find $MUSMAP_TARGET/debian -name *~   | xargs --no-run-if-empty rm -f
  +
  +cd $MUSMAP_TARGET
   yada rebuild
  -./debian/rules build
  -#as root
  -su root ./debian/rules binary clean
  +su  root dpkg-buildpackage -sa -tc
  +#rm -R -f $MUSMAP_ORIG_TARGET
  +#rm -R -f $MUSMAP_TARGET
  
  
  

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] CVS Update: musmap create_package.sh

2006-01-12 Thread mparent-guest

  User: mparent-guest
  Date: 06/01/12 20:12:27

  Added:   .create_package.sh
  Log:
  Create initial directory structure
  
  Revision  ChangesPath
  1.1  musmap/create_package.sh
  
  CVSWEB Options: ---
  
  CVSWeb: Annotate this file:
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh?annotate=1.1cvsroot=
  
  CVSWeb: View this file: 
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/create_package.sh?rev=1.1content-type=text/x-cvsweb-markupcvsroot=
  
  ---
  
  Index: create_package.sh
  ===
  #!/bin/sh
  cd ../../musmap/musmap
  ln -s ../../pkg-grass/musmap/debian .
  yada rebuild
  ./debian/rules build
  #as root
  su root ./debian/rules binary clean
  
  
  

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel