--- admin/PlamoBuild-template-20170204 2017-02-04 18:40:24.000000000 +0900 +++ plamo/05_ext/AV.txz/old/sox-20170207/PlamoBuild.sox-14.4.2 2017-02-07 20:50:57.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://downloads.sourceforge.net/sox/sox-14.4.2.tar.bz2" +pkgbase=sox +vers=14.4.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-distro=Plamo_Linux" +DOCS="COPYING README README.win32 README.osx INSTALL ChangeLog + NEWS LICENSE.LGPL AUTHORS LICENSE.GPL" template=20170204 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -312,8 +312,13 @@ done convert 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 ! -name pkgconfig | tail -n+2` + 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/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 read -p "Do you want to keep work files? [y/N] " ans