--- admin/PlamoBuild-template-20161020 2016-10-20 00:36:22.000000000 +0900 +++ plamo/01_minimum/old/zip-20161021/PlamoBuild.zip-30 2016-10-21 11:04:47.000000000 +0900 @@ -1,15 +1,16 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://downloads.sourceforge.net/infozip/zip30.tar.gz" +pkgbase=zip +vers=30 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Betas_Readme.txt BUGS CHANGES INSTALL LICENSE README README.CR + TODO USexport.msg WHATSNEW WHERE zip30*.ann" template=20161020 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -237,8 +238,8 @@ done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make clean + if [ -f unix/Makefile ] ; then + make -f unix/Makefile clean fi if [ -f config.log ] ; then rm -rf config.cache config.log @@ -253,8 +254,8 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make + if [ -f unix/Makefile ] ; then + make -f unix/Makefile generic fi done fi @@ -270,8 +271,8 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make install DESTDIR=$P + if [ -f unix/Makefile ] ; then + make -f unix/Makefile install prefix=$P/usr MANDIR=$P/usr/share/man/man1 fi done touch $W/i.et @@ -310,6 +311,7 @@ fi ( cd $docdir ; find ${src[$i]} -type d -exec touch -r $W/{} {} \; ) done + touch -t `date '+%m%d0900'` $docdir/$src 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`