--- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/01_minimum/old/recode-20160714/PlamoBuild.recode-3.6 2016-07-14 20:50:25.000000000 +0900 @@ -1,15 +1,17 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://mirrors.tds.net/gentoo/distfiles/recode-3.6.tar.gz + http://ftp.osuosl.org/pub/blfs/svn/r/recode-3.6-fixes-2.patch" +pkgbase=recode +vers=3.6 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="recode-3.6-fixes-2.patch" +OPT_CONFIG="--without-included-gettext" +DOCS="README ABOUT-NLS AUTHORS BACKLOG COPYING ChangeLog INSTALL + NEWS THANKS TODO COPYING-LIB" ###################################################################### fscheck() { @@ -233,6 +235,8 @@ esac done done + cd $B + cp -p /usr/share/libtool/build-aux/config.{guess,sub} . for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then @@ -296,8 +300,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 | 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/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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