OSSP CVS Repository

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

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

%checkout
    for name in al sa; do
        echo "===> lib_${name} (cvs co)"
        cvs co -d lib_${name} ${name}
        echo "<=== lib_${name}"
    done

%autogen
    @autogen shtool   2.0.3  "2.0.*" all
    @autogen libtool  1.5.20 "1.5*"
    @autogen autoconf 2.59   "2.5[3-9]*"

    for name in al sa; do
        echo "===> lib_${name} (devtool autogen)"
        (cd lib_${name} && ./devtool autogen)
        echo "<=== lib_${name}"
    done

%autoclean
    @autoclean shtool
    @autoclean autoconf

    for name in al sa; do
        echo "===> lib_${name} (devtool autoclean)"
        (cd lib_${name} && ./devtool autoclean)
        echo "<=== lib_${name}"
    done

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

%version
    ./shtool version -l txt -n "OSSP sio" -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 sio-*.tar.gz
    ./devtool autoclean
    ./devtool autogen
    ./devtool configure
    make clean all man
    make distclean
    ./shtool fixperm -v .
    V=`./shtool version -l txt -d short VERSION`
    ./shtool tarball -o sio-${V}.tar.gz -d sio-${V} -u ossp -g sio \
                     -e 'CVS,\.cvsignore,\.[ao],^\.,devtool.conf,*.tar.gz,*.bak,*~,TODO,autom4te\.cache,BRAINSTORM' -c 'gzip --best' .
    ls -l sio-${V}.tar.gz
    gunzip <sio-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
    gunzip <sio-${V}.tar.gz | tar tvf - | tail -10

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

%upload
    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/sio/"
    scp sio-*.tar.gz ossp@master.ossp.org:/v/ossp/ftp/pkg/lib/sio/


CVSTrac 2.0.1