--- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/tcl.txz/tclx/PlamoBuild.tclx-8.4.1 2017-07-01 06:35:10.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +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" verify= digest= commitid= -pkgbase= -vers= +pkgbase=tclx +vers=8.4.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=${pkgbase}8.4 +patchfiles="tclx-8.4.gcc4.diff.gz" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README license.terms" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +42,8 @@ if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ - --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} + --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} \ + --with-tcl=/usr/$libdir fi done fi @@ -69,10 +71,13 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/tclx8.4 + touch -t `date '+%m%d0900'` $P/usr/$libdir/tclx8.4 setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` - tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz