File: prep_linux.sh

package info (click to toggle)
gffread 0.12.7-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,424 kB
  • sloc: cpp: 2,783; sh: 99; makefile: 73
file content (22 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash -e
ver=$(fgrep '#define VERSION ' gffread.cpp)
ver=${ver#*\"}
ver=${ver%%\"*}
srcpack=gffread-$ver
source prep_source.sh
linpack=$pack.Linux_x86_64
echo "preparing $linpack.tar.gz"
echo "-------------------"
/bin/rm -rf $linpack
/bin/rm -f $linpack.tar.gz
mkdir $linpack
cd $srcpack
make clean
make release
cp LICENSE README.md gffread ../$linpack/
cd ..
tar cvfz $linpack.tar.gz $linpack
ls -l $srcpack.tar.gz $linpack.tar.gz
echo "scp $linpack.tar.gz $pack.tar.gz  salz:~/html/software/stringtie/dl/"
echo ".. then on the server: "
echo "perl -i -pe 's/gffread\-\d\.\d+\.\d+\w?\./gffread-$ver./g' ~/html/software/stringtie/gff*.shtml"