--- admin/PlamoBuild-template-20161020 2016-10-20 00:36:22.000000000 +0900 +++ plamo/04_xapps/old/gobject_introspection-20170124/PlamoBuild.gobject_introspection-1.42.0 2017-01-24 09:48:43.000000000 +0900 @@ -1,15 +1,16 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.42/gobject-introspection-1.42.0.tar.xz" +pkgbase=gobject_introspection +vers=1.42.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gobject-introspection-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-tests" +DOCS="ChangeLog CONTRIBUTORS COPYING.LGPL COPYING.GPL AUTHORS NEWS + TODO COPYING README" template=20161020 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -279,6 +280,8 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gobject-introspection/giscanner + touch -t `date '+%m%d0900'` $P/usr/$libdir/gobject-introspection/giscanner for i in `seq 0 $((${#DOCS[@]} - 1))` ; do for j in ${DOCS[$i]} ; do for k in ${S[$i]}/$j ; do @@ -312,8 +315,17 @@ 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 -name libgirepository*` + tar rvpf $pkg.tar -C $P usr/$libdir/gobject-introspection + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/girepository-1.0 + tar rvpf $pkg.tar -C $P usr/include/gobject-introspection-1.0 + tar rvpf $pkg.tar -C $P usr/share/gobject-introspection-1.0 + tar rvpf $pkg.tar -C $P usr/share/gir-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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