Check-in Number:
|
4817 | |
Date: |
2004-Nov-03 18:51:19 (local)
2004-Nov-03 17:51:19 (UTC) |
User: | rse |
Branch: | |
Comment: |
enable Perl by default for the developer |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/uuid/devtool.conf -> 1.11
*** /dev/null Fri Nov 22 15:36:25 2024
--- - Fri Nov 22 15:36:52 2024
***************
*** 0 ****
--- 1,88 ----
+ ##
+ ## 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.5[3-9]*"
+
+ %autoclean
+ @autoclean shtool
+ @autoclean libtool
+ @autoclean autoconf
+
+ %configure
+ ./configure \
+ --prefix=/tmp/uuid \
+ --disable-shared \
+ --enable-debug \
+ --with-perl \
+ "$@"
+
+ %version
+ ./shtool version -l c -n "OSSP uuid" -p _uuid_ -e uuid_vers.h
+ V=`./shtool version -l c -d long uuid_vers.h`
+ sed -e "s/Version .*/Version $V/g" <README >README.n
+ mv README.n README
+
+ %dist
+ echo "+++ removing old tarballs"
+ rm -f uuid-*.tar.gz
+ echo "+++ generating"
+ ./devtool autoclean
+ ./devtool autogen
+ echo "+++ configuring"
+ ./configure
+ echo "+++ real cleaning"
+ make realclean
+ echo "+++ re-generating"
+ ./devtool autoclean
+ ./devtool autogen
+ echo "+++ re-configuring"
+ ./configure
+ echo "+++ building"
+ make all man
+ echo "+++ dist cleaning"
+ make distclean
+ echo "+++ fixing"
+ ./shtool fixperm -v .
+ echo "+++ rolling"
+ V=`./shtool version -l c -d short uuid_vers.h`
+ ./shtool tarball -o uuid-${V}.tar.gz -d uuid-${V} -u ossp -g ossp \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+ ls -l uuid-${V}.tar.gz
+ echo "+++ testing"
+ gunzip <uuid-${V}.tar.gz | tar tvf - | head -10
+ echo "[...]"
+ gunzip <uuid-${V}.tar.gz | tar tvf - | tail -10
+
+ %snap
+ echo "+++ removing old tarballs"
+ rm -f uuid-*.tar.gz
+ 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"
+ D=`date '+%Y%m%d'`
+ ./shtool tarball -o uuid-SNAP-${D}.tar.gz -d uuid-SNAP-${D} -u ossp -g ossp \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+ ls -l uuid-SNAP-${D}.tar.gz
+ echo "+++ testing"
+ gunzip <uuid-SNAP-${D}.tar.gz | tar tvf - | head -10
+ echo "[...]"
+ gunzip <uuid-SNAP-${D}.tar.gz | tar tvf - | tail -10
+
+ %upload
+ echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/uuid/"
+ V=`./shtool version -l c -d short uuid_vers.h`
+ scp uuid-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/uuid/
+
|
|