--- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/zip/PlamoBuild.zip-30 2017-07-06 16:35:29.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/infozip/zip30.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=zip +vers=30 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +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=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -48,8 +49,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 @@ -60,8 +61,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 @@ -70,6 +71,7 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src 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`