OSSP CVS Repository

ossp - ossp-pkg/sa/devtool.conf
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/sa/devtool.conf
##
##  devtool.conf -- Development Tool Configuration
##

%autogen
    @autogen shtool   2.0.5  "1.6.*" all
    @autogen libtool  1.5.22 "1.5*"
    @autogen autoconf 2.59   "2.5[4-9]*"

%autoclean
    @autoclean shtool
    @autoclean libtool
    @autoclean autoconf

%configure
    ./configure \
        --prefix=/tmp/sa \
        --disable-shared \
        --enable-debug \
        "$@"

%version
    ./shtool version -l txt -n "OSSP sa" -e VERSION
    V=`./shtool version -l txt -d long VERSION`
    sed -e "s/Version .*/Version $V/g" <README >README.n
    mv README.n README

%dist
    echo "+++ removing old tarballs"
    rm -f sa-*.tar.gz
    echo "+++ generating"
    ./devtool autoclean
    ./devtool autogen
    echo "+++ configuring"
    ./configure
    echo "+++ building"
    make clean all man
    echo "+++ cleaning"
    make distclean
    echo "+++ fixing"
    ./shtool fixperm -v .
    echo "+++ rolling"
    V=`./shtool version -l txt -d short VERSION`
    ./shtool tarball -o sa-${V}.tar.gz -d sa-${V} -u ossp -g ossp \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
    ls -l sa-${V}.tar.gz
    echo "+++ testing"
    gunzip <sa-${V}.tar.gz | tar tvf - | head -10
    echo "[...]"
    gunzip <sa-${V}.tar.gz | tar tvf - | tail -10

%upload
    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/sa/"
    V=`./shtool version -l txt -d short VERSION`
    scp sa-${V}.tar.gz ossp@master.ossp.org:/v/ossp/ftp/pkg/lib/sa/


CVSTrac 2.0.1