--- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/01_minimum/old/lsof-20160717/PlamoBuild.lsof-4.81.dfsg.1 2016-07-17 19:19:03.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://ftp.uni-erlangen.de/ubuntu/pool/main/l/lsof/lsof_4.81.dfsg.1.orig.tar.gz" +pkgbase=lsof +vers=4.81.dfsg.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="00*" ###################################################################### fscheck() { @@ -247,6 +247,7 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + yes "" | ./Configure linux fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -272,6 +273,10 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install -m 4755 lsof $P/usr/bin + install -d $mandir/man8 + install -m 644 lsof.8 $mandir/man8 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -296,7 +301,7 @@ 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/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz