OSSP CVS Repository

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

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

%autogen
    @autogen shtool   2.0.1  "2.0.*" all
    @autogen libtool  1.5.10 "1.5*"
    @autogen autoconf 2.59   "2.[3-9]*"

%autoclean
    @autoclean shtool
    @autoclean libtool
    @autoclean autoconf

%configure
    ./configure \
        --cache-file=config.cache \
        --prefix=/tmp/ui64 \
        --disable-shared \
        --enable-debug \
        "$@"

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

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


CVSTrac 2.0.1