--- admin/PlamoBuild-template-20170415	2017-04-15 12:25:32.000000000 +0900
+++ plamo/00_base/lzo/PlamoBuild.lzo-2.09	2017-04-24 13:23:34.000000000 +0900
@@ -1,18 +1,18 @@
 #!/bin/sh
 
 ######################################################################
-url=""
+url="http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz"
 verify=
 digest=
 commitid=
-pkgbase=
-vers=
+pkgbase=lzo
+vers=2.09
 arch=`uname -m`
-build=P1
+build=P3
 src=$pkgbase-$vers
 patchfiles=""
-OPT_CONFIG=""
-DOCS="README"
+OPT_CONFIG="--enable-shared"
+DOCS="AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS"
 template=20170415
 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin
 ######################################################################
@@ -70,10 +70,16 @@
       -exec touch -t `date '+%m%d0900'` {} \;
   compress
   setup_docdir
+  cp -a $S/{doc,examples} $docdir/$src
+  chown -R root.root $docdir/$src/{doc,examples}
+  mv $docdir/$src/{doc,examples,{$func,$myname,$spec}.gz} $C
+  mv $C/{doc,examples,{$func,$myname,$spec}.gz} $docdir/$src
+  touch -r $S $docdir/$src
   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 `cd $P ; find usr/$libdir | tail -n+2`
+  tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/lzo | 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