OSSP CVS Repository

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

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

%autogen
    @autogen shtool   1.6.2 "1.6.*" all
    @autogen libtool  1.4.3 "1.4*"
    @autogen autoconf 2.57  "2.5[3-9]*"

%autoclean
    @autoclean shtool
    @autoclean libtool
    @autoclean autoconf

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

%version
    ./shtool version -l txt -n "OSSP res" -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 "+++ 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 res-${V}.tar.gz -d res-${V} -u ossp -g res \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,00TODO' -c 'gzip --best' .
    ls -l res-${V}.tar.gz
    echo "+++ testing"
    gunzip <res-${V}.tar.gz | tar tvf -

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


CVSTrac 2.0.1