--- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/01_minimum/network.txz/old/metamail-20160925/PlamoBuild.metamail-2.7 2016-09-25 10:11:43.000000000 +0900 @@ -1,15 +1,17 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://old-releases.ubuntu.com/ubuntu/pool/universe/m/metamail/metamail_2.7.orig.tar.gz + http://old-releases.ubuntu.com/ubuntu/pool/universe/m/metamail/metamail_2.7-54.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src.new/plamo/01_minimum/network.txz/metamail/metamail-2.7-uue.c_getline.patch.gz" +pkgbase=metamail +vers=2.7 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P4 +src=$pkgbase-$vers.orig +patchfiles="metamail_2.7-54.diff.gz metamail-2.7-uue.c_getline.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="CREDITS README mailers.txt" ###################################################################### fscheck() { @@ -233,6 +235,9 @@ esac done done + cd $B + chmod 755 bootstrap configure + ./bootstrap for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then @@ -272,6 +277,10 @@ make install DESTDIR=$P fi done + for i in 1 5 ; do + install -d $mandir/man$i + for j in man/*.$i ; do install -m 644 $j $mandir/man$i ; done + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -296,8 +305,12 @@ 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 usr/include/metamail 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/man5 | 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