--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/glib/PlamoBuild.glib-2.47.5 2017-12-02 19:58:28.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/glib/2.47/glib-2.47.5.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glib +vers=2.47.5 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-gtk-doc-html --with-pcre=system" +DOCS="ChangeLog.pre-2-2 README.rationale `echo ChangeLog.pre-2-{4,1{4,2,8,6}}` + INSTALL NEWS.pre-1-3 ChangeLog.pre-2-0 README.commits ChangeLog.pre-2-6 + ChangeLog HACKING README.win32 AUTHORS `echo ChangeLog.pre-{2-20,1-2}` + COPYING NEWS `echo ChangeLog.pre-2-{8,10}` README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +44,7 @@ cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir=/usr/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -70,11 +73,33 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/$libdir/gio/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/gio/modules 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/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libglib-*` + tar rvpf $pkg.tar -C $P usr/$libdir/glib-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgmodule-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgthread-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgobject-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgio-*` + tar rvpf $pkg.tar -C $P usr/$libdir/gio + 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/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/glib-2.0 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gdb/auto-load/usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/bash-completion/completions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gettext/its | 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/gtk-doc/html -maxdepth 1 | 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 cleanup