--- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/lsof/PlamoBuild.lsof-4.81.dfsg.1 2017-06-11 21:01:54.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.uni-erlangen.de/ubuntu/pool/main/l/lsof/lsof_4.81.dfsg.1.orig.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lsof +vers=4.81.dfsg.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="00*" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -44,6 +44,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 @@ -64,6 +65,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 \ @@ -72,7 +77,7 @@ setup_docdir 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 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