/[escript]/trunk/packaging/lenny/builddeb
ViewVC logotype

Diff of /trunk/packaging/lenny/builddeb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2291 by jfenwick, Fri Feb 27 01:53:06 2009 UTC revision 2302 by jfenwick, Thu Mar 12 04:40:03 2009 UTC
# Line 4  Line 4 
4  # Its purpose is to produce a .deb for escript  # Its purpose is to produce a .deb for escript
5    
6  SRCDIR=`pwd`  SRCDIR=`pwd`
7  WRAPPERNAME=finleypython  WRAPPERNAME=escript
8    ALTWRAPPERNAME=finleypython
9  OUTPUTROOT=$SRCDIR/build/package/lenny/escript  OUTPUTROOT=$SRCDIR/build/package/lenny/escript
10  LIBOUT=$OUTPUTROOT/usr/lib/escript  LIBOUT=$OUTPUTROOT/usr/lib/escript
11  BINOUT=$OUTPUTROOT/usr/bin  BINOUT=$OUTPUTROOT/usr/bin
# Line 30  then Line 31  then
31    rm -rf $OUTPUTROOT || (echo "Error could not clean build area";exit 2)    rm -rf $OUTPUTROOT || (echo "Error could not clean build area";exit 2)
32  fi  fi
33    
   
   
34  mkdir -p $OUTPUTROOT  mkdir -p $OUTPUTROOT
35    
36  #First copy debian skeleton  #First copy debian skeleton
# Line 42  mkdir -p $OUTPUTROOT/usr/share/man/man1 Line 41  mkdir -p $OUTPUTROOT/usr/share/man/man1
41    
42  #copy the man page  #copy the man page
43  cp $SRCDIR/doc/manpage/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1  cp $SRCDIR/doc/manpage/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1
44    cp $SRCDIR/doc/manpage/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1
45    gzip $OUTPUTROOT/usr/share/man/man1/$WRAPPERNAME.1
46    gzip $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1
47    
48    #copy the documentation
49    cp $SRCDIR/release/doc/escript_examples.tar.gz $OUTPUTROOT/usr/share/doc/escript/
50    cp $SRCDIR/release/doc/install/install.pdf $OUTPUTROOT/usr/share/doc/escript
51    cp $SRCDIR/release/doc/user/guide.pdf $OUTPUTROOT/usr/share/doc/escript
52    cp -r $SRCDIR/release/doc/epydoc $OUTPUTROOT/usr/share/doc/escript/python_html
53    
54  mkdir -p $LIBOUT/lib  mkdir -p $LIBOUT/lib
55  mkdir -p $BINOUT  mkdir -p $BINOUT
56  #Should be using install here?  #Should be using install here?
57  cp $SRCDIR/lib/* $LIBOUT/lib  cp $SRCDIR/lib/libescript.so $SRCDIR/lib/libfinley.so $LIBOUT/lib
58  cp -r $SRCDIR/esys $LIBOUT  cp -r $SRCDIR/esys $LIBOUT
59    
60  # content from finley_wrapper_writer.sh  # content from finley_wrapper_writer.sh
# Line 65  %$ESCRIPT_ROOT Line 73  %$ESCRIPT_ROOT
73    
74  #end content from finley_wrapper_writer.sh  #end content from finley_wrapper_writer.sh
75    
76    cd $BINOUT
77    ln -s $WRAPPERNAME $ALTWRAPPERNAME
78    cd $SRCDIR
79    
80  #Nuke any svn stuff that made it in  #Nuke any svn stuff that made it in
81  find $OUTPUTROOT -name ".svn" | xargs rm -rf  find $OUTPUTROOT -name ".svn" | xargs rm -rf
82    

Legend:
Removed from v.2291  
changed lines
  Added in v.2302

  ViewVC Help
Powered by ViewVC 1.1.26