ossp-pkg/getopt/devtool.conf
##
## devtool.conf -- Development Tool Configuration
##
%autogen
@autogen shtool 2.0.3 "2.0.*" all
@autogen autoconf 2.59 "2.5[3-9]*"
%autoclean
@autoclean shtool
@autoclean autoconf
%configure
./configure --prefix=/tmp/getopt "$@"
%dist
rm -f getopt-*.tar.gz
./devtool autoclean
./devtool autogen
./configure
make clean all
make distclean
./shtool fixperm -v .
V=`cat VERSION`
./shtool tarball -o getopt-${V}.tar.gz -d getopt-${V} -u gnu -g getopt \
-e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
ls -l getopt-${V}.tar.gz
gunzip <getopt-${V}.tar.gz | tar tvf -
%release
echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/getopt/"
scp getopt-*.tar.gz ossp@master.ossp.org:/v/ossp/ftp/pkg/lib/getopt/