--- admin/PlamoBuild-template-20161020 2016-10-20 00:36:22.000000000 +0900 +++ plamo/01_minimum/old/dbus-20161230/PlamoBuild.dbus-1.6.18 2016-12-30 07:26:40.000000000 +0900 @@ -1,15 +1,19 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://dbus.freedesktop.org/releases/dbus/dbus-1.6.18.tar.gz" +pkgbase=dbus +vers=1.6.18 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-systemd --with-xml=expat + --with-console-auth-dir=/var/run/console + --without-systemdsystemunitdir" +DOCS="INSTALL NEWS README AUTHORS ChangeLog COPYING HACKING + ChangeLog.pre-1-0 NEWS.pre-1-0 ChangeLog.pre-1-2 NEWS.pre-1-2 + README.win README.wince README.cygwin README.launchd" template=20161020 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -279,6 +283,7 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec for i in `seq 0 $((${#DOCS[@]} - 1))` ; do for j in ${DOCS[$i]} ; do for k in ${S[$i]}/$j ; do @@ -310,10 +315,23 @@ fi ( cd $docdir ; find ${src[$i]} -type d -exec touch -r $W/{} {} \; ) done + mv $docdir/dbus $docdir/$src/doc + mv $docdir/$src/{doc,{$myname,$spec}.gz} $C + mv $C/{doc,{$myname,$spec}.gz} $docdir/$src + touch -r $S $docdir/$src 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libdbus-1.*` + tar rvpf $pkg.tar -C $P usr/$libdir/dbus-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/dbus-1.0 + tar rvpf $pkg.tar -C $P usr/share/dbus-1 + tar rvpf $pkg.tar -C $P etc/dbus-1 + tar rvpf $pkg.tar -C $P var/{run,lib}/dbus 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