OSSP CVS Repository

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

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

%autogen
    @autogen shtool   1.6.1 "1.6.*" all
    @autogen libtool  1.4.3 "1.4*"
    @autogen autoconf 2.54  "2.5[3-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
    rm -f sa-*.tar.gz
    ./devtool autoclean
    ./devtool autogen
    ./configure
    make clean all
    make distclean
    ./shtool fixperm -v .
    V=`./shtool version -l txt -d short VERSION`
    ./shtool tarball -o sa-${V}.tar.gz -d sa-${V} -u gnu -g sa \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
    ls -l sa-${V}.tar.gz
    gunzip <sa-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
    gunzip <sa-${V}.tar.gz | tar tvf - | tail -10

%snap
    rm -f sa-*.tar.gz
    ./devtool autoclean
    ./devtool autogen
    ./configure
    make clean all
    make distclean
    ./shtool fixperm -v .
    D=`date '+%Y%m%d'`
    ./shtool tarball -o sa-SNAP-${D}.tar.gz -d sa-SNAP-${D} -u gnu -g sa \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
    ls -l sa-SNAP-${D}.tar.gz
    gunzip <sa-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
    gunzip <sa-SNAP-${D}.tar.gz | tar tvf - | tail -10

%release
    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/sa/"
    scp sa-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/sa/


CVSTrac 2.0.1