--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/graphviz/PlamoBuild.graphviz-2.38.0 2018-02-15 16:15:33.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.osuosl.org/pub/blfs/conglomeration/graphviz/graphviz-2.38.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=graphviz +vers=2.38.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-php" +DOCS="NEWS cpl1.0.txt INSTALL ChangeLog README AUTHORS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,51 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in . tcl R lua ocaml perl python ; do + strip_libdir $P/usr/$libdir/graphviz/$i + done + strip_libdir $P/usr/$libdir/lua/* + strip_libdir $P/usr/$libdir/perl*/vendor_perl/*/*-linux-thread-multi + strip_libdir $P/usr/$libdir/python*/site-packages + strip_libdir $P/usr/$libdir/tcl*/graphviz setup_docdir convert_links + for i in . tcl R lua ocaml perl python ; do + touch -t `date '+%m%d0900'` $P/usr/$libdir/graphviz/$i + done + touch -t `date '+%m%d0900'` $P/usr/$libdir/tcl*/graphviz + prune_symlink $P/usr/share/graphviz/doc/pdf + touch -t `date '+%m%d0900'` $P/usr/share/graphviz/doc/pdf + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + dot -c + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libcdt.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libcgraph.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libpathplan.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libxdot.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libgvc.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libgvpr.*` + tar rvpf $pkg.tar -C $P usr/$libdir/graphviz + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/lua/* | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/perl*/vendor_perl/*/*-linux-thread-multi \ + | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/tcl* -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/graphviz + tar rvpf $pkg.tar -C $P usr/share/graphviz tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz cleanup