/[tokyocabinet-toys]/tc-latest-deb.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /tc-latest-deb.sh

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

revision 6 by dpavlin, Wed Jul 22 16:56:04 2009 UTC revision 8 by dpavlin, Sat Jul 25 16:49:30 2009 UTC
# Line 42  function extract() { Line 42  function extract() {
42    
43          if [ "$ver" == "perl" ] ; then          if [ "$ver" == "perl" ] ; then
44    
45                  dh-make-perl --depends tokyocabinet                  dh-make-perl --bdepends tokyocabinet --depends tokyocabinet || exit
46                  ./debian/rules binary  #               echo "libtokyocabinet 8 tokyocabinet(>= 1.4.30)" > debian/shlib.local || exit
47                    cat debian/control | sed 's/${shlibs:Depends},//' > debian/control.new && mv debian/control.new debian/control
48                    sudo ./debian/rules binary || exit
49    
50          else          else
51    
# Line 71  fi Line 73  fi
73    
74  perl_upstream=`wget -O - -o /dev/null http://tokyocabinet.sourceforge.net/perlpkg/ | grep tar.gz | cut -d\" -f8 | tail -1`  perl_upstream=`wget -O - -o /dev/null http://tokyocabinet.sourceforge.net/perlpkg/ | grep tar.gz | cut -d\" -f8 | tail -1`
75  if [ -z "$perl_ver" ] ; then  if [ -z "$perl_ver" ] ; then
76          wget -nH -nd -m http://tokyocabinet.sourceforge.net/perlpkg/$perl_upstream          wget -nH -nd -nc http://tokyocabinet.sourceforge.net/perlpkg/$perl_upstream
77          extract "$perl_upstream"          extract "$perl_upstream"
78  else  else
79          extract `ls -m $perl_upstream | head -1`          extract `ls -m $perl_upstream | head -1`

Legend:
Removed from v.6  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26