--- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/01_minimum/old/emacs_bin-20160709/PlamoBuild.emacs_bin-24.5 2016-07-09 23:34:00.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" +pkgbase=emacs_bin +vers=24.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=emacs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-all --without-x" +DOCS="README INSTALL COPYING BUGS ChangeLog" ###################################################################### fscheck() { @@ -272,11 +272,14 @@ make install DESTDIR=$P fi done + rm $P/usr/bin/emacs{-$vers,} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec/emacs/$vers/* + touch -t `date '+%m%d0900'` $P/usr/libexec/emacs/$vers/* for i in `seq 0 $((${#DOCS[@]} - 1))` ; do for j in ${DOCS[$i]} ; do for k in ${S[$i]}/$j ; do @@ -296,7 +299,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 usr/libexec/emacs 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