--- plamo/01_minimum/old/tree-20161017/PlamoBuild.tree-1.6.0 2016-10-17 15:31:58.000000000 +0900 +++ plamo/01_minimum/tree/PlamoBuild.tree-1.7.0 2016-10-18 11:21:37.000000000 +0900 @@ -1,11 +1,11 @@ #!/bin/sh ###################################################################### -url="ftp://mama.indstate.edu/linux/tree/tree-1.6.0.tgz" +url="ftp://mama.indstate.edu/linux/tree/tree-1.7.0.tgz" pkgbase=tree -vers=1.6.0 +vers=1.7.0 arch=`uname -m` -build=P2 +build=P1 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" @@ -235,22 +235,7 @@ done cd $B cp -p Makefile{,.orig} - cat <<- "EOF" | patch Makefile - 97,98c97,98 - < install -d $(BINDIR) - < install -d $(MANDIR) - --- - > install -d $(DESTDIR)$(BINDIR) - > install -d $(DESTDIR)$(MANDIR) - 100c100 - < install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \ - --- - > install -s $(TREE_DEST) $(DESTDIR)$(BINDIR)/$(TREE_DEST); \ - 102c102 - < install doc/$(MAN) $(MANDIR)/$(MAN) - --- - > install doc/$(MAN) $(DESTDIR)$(MANDIR)/$(MAN) - EOF + sed -i 's@$(BINDIR)@$(DESTDIR)&@;s@$(MANDIR)@$(DESTDIR)&@' Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then