--- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/01_minimum/aspell.txz/old/aspell-20160902/PlamoBuild.aspell-0.60.6.1 2016-09-02 09:42:02.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz" +pkgbase=aspell +vers=0.60.6.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO README ABOUT-NLS COPYING" ###################################################################### fscheck() { @@ -272,11 +272,16 @@ make install DESTDIR=$P fi done + sver=`echo $vers | cut -d. -f1-2` + ln -s /usr/$libdir/aspell-$sver/spell $P/usr/bin + ln -s /usr/$libdir/aspell-$sver/ispell $P/usr/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/aspell-$sver + touch -t `date '+%m%d0900'` $P/usr/$libdir/aspell-$sver for i in `seq 0 $((${#DOCS[@]} - 1))` ; do for j in ${DOCS[$i]} ; do for k in ${S[$i]}/$j ; do @@ -296,8 +301,13 @@ 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/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz read -p "Do you want to keep work files? [y/N] " ans