--- admin/PlamoBuild-template-20170204 2017-02-04 18:40:24.000000000 +0900 +++ plamo/04_xapps/old/ORBit2-20170216/PlamoBuild.ORBit2-2.14.19 2017-02-16 10:09:22.000000000 +0900 @@ -1,15 +1,16 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2" +pkgbase=ORBit2 +vers=2.14.19 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS MAINTAINERS TODO HACKING README ChangeLog NEWS COPYING + INSTALL COPYING.LIB" template=20170204 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -235,6 +236,14 @@ esac done done + cd $B + cp -p linc2/src/Makefile.in{,.orig} + cat <<- "EOF" | patch linc2/src/Makefile.in + 247c247 + < -DG_DISABLE_DEPRECATED $(am__append_1) + --- + > $(am__append_1) + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then @@ -279,6 +288,8 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/orbit-2.0 + touch -t `date '+%m%d0900'` $P/usr/$libdir/orbit-2.0 for i in `seq 0 $((${#DOCS[@]} - 1))` ; do for j in ${DOCS[$i]} ; do for k in ${S[$i]}/$j ; do @@ -312,8 +323,15 @@ 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/share/man/man1 | 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 lib* | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/orbit-2.0 + tar rvpf $pkg.tar -C $P usr/include/orbit-2.0 + tar rvpf $pkg.tar -C $P usr/share/idl/orbit-2.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/ORBit2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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