--- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/emacs_bin/PlamoBuild.emacs_bin-24.5 2018-08-17 10:54:39.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=emacs_bin +vers=24.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=emacs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-all --without-x" +DOCS="README INSTALL COPYING BUGS ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,15 +65,18 @@ make install DESTDIR=$P fi done + rm $P/usr/bin/emacs{-$vers,} touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/libexec/emacs/$vers/* + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/libexec/emacs/$vers/* 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 usr/libexec/emacs tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz