OSSP CVS Repository

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

ossp-pkg/act/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.*"

%autoclean
    @autoclean shtool
    @autoclean libtool
    @autoclean autoconf

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

%version
    ./shtool version -l c -p act_int_ -n "OSSP act" -e act_vers.c
    V=`./shtool version -l c -d long act_vers.c`
    sed -e "s/Version .*/Version $V/g" <README >README.n
    mv README.n README

%dist
    rm -f act-*.tar.gz
    ./devtool autoclean
    ./devtool autogen
    ./configure
    make clean all man
    make distclean
    ./shtool fixperm -v .
    V=`./shtool version -l txt -d short VERSION`
    ./shtool tarball -o act-${V}.tar.gz -d act-${V} -u ossp -g act \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
    ls -l act-${V}.tar.gz
    gunzip <act-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
    gunzip <act-${V}.tar.gz | tar tvf - | tail -10

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

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


CVSTrac 2.0.1