--- plamo/01_minimum/tcl.txz/old/tclx-20161016/PlamoBuild.tclx-8.4 2016-10-16 11:56:55.000000000 +0900 +++ plamo/01_minimum/tcl.txz/tclx/PlamoBuild.tclx-8.4.1 2016-10-18 09:58:54.000000000 +0900 @@ -1,18 +1,17 @@ #!/bin/sh ###################################################################### -url="http://downloads.sourceforge.net/tclx/tclx8.4.tar.bz2 - http://ftp.slackware.com/pub/slackware/slackware-14.0/source/tcl/tclx/tclx-8.4.configure.diff.gz +url="http://downloads.sourceforge.net/tclx/tclx8.4.1.tar.bz2 http://ftp.slackware.com/pub/slackware/slackware-14.0/source/tcl/tclx/tclx-8.4.gcc4.diff.gz - http://downloads.sourceforge.net/tcl/tcl8.5.10-src.tar.gz" + http://downloads.sourceforge.net/tcl/tcl8.6.6-src.tar.gz" pkgbase=tclx -vers=8.4 +vers=8.4.1 arch=`uname -m` -build=P2 -src=tclx$vers -patchfiles="tclx-8.4.configure.diff.gz tclx-8.4.gcc4.diff.gz" +build=P1 +src=${pkgbase}8.4 +patchfiles="tclx-8.4.gcc4.diff.gz" OPT_CONFIG="" -DOCS="README license.terms ChangeLog" +DOCS="ChangeLog README license.terms" ###################################################################### fscheck() { @@ -236,27 +235,27 @@ esac done done - cd $W/tcl8.5.10 + cd $W/tcl8.6.6 if [ $arch == x86_64 ] ; then cp -p unix/configure{,.orig} cat <<- "EOF" | patch unix/configure - 18772c18772 + 18923c18923 < TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)' --- > TCL_LIBRARY='$(prefix)/lib64/tcl$(VERSION)' - 18894,18895c18894,18895 + 19053,19054c19053,19054 < elif test "$prefix/lib" != "$libdir"; then < TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}" --- > elif test "$prefix/lib64" != "$libdir"; then > TCL_PACKAGE_PATH="${libdir} ${prefix}/lib64 ${TCL_PACKAGE_PATH}" - 18897c18897 + 19056c19056 < TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}" --- > TCL_PACKAGE_PATH="${prefix}/lib64 ${TCL_PACKAGE_PATH}" EOF fi - cd $W/tcl8.5.10/unix + cd $W/tcl8.6.6/unix ./configure --prefix=/usr --libdir=/usr/$libdir --enable-threads for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} @@ -302,8 +301,8 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress - strip_libdir $P/usr/$libdir/tclx$vers - touch -t `date '+%m%d0900'` $P/usr/$libdir/tclx$vers + strip_libdir $P/usr/$libdir/tclx8.4 + touch -t `date '+%m%d0900'` $P/usr/$libdir/tclx8.4 for i in `seq 0 $((${#DOCS[@]} - 1))` ; do for j in ${DOCS[$i]} ; do for k in ${S[$i]}/$j ; do @@ -322,7 +321,7 @@ ( cd $docdir ; find ${src[$i]} -type d -exec touch -r $W/{} {} \; ) done convert - tar cvpf $pkg.tar -C $P usr/$libdir/tclx$vers + tar cvpf $pkg.tar -C $P usr/$libdir/tclx8.4 tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/mann | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src