--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/json_c/PlamoBuild.json_c-0.12 2017-09-10 18:17:12.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=json_c +vers=0.12 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=json-c-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog NEWS README README-WIN32.html + README.html RELEASE_CHECKLIST.txt INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i 's@-Werror @@g' Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,9 +76,11 @@ compress 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/json-c 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