--- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/rtmpdump/PlamoBuild.rtmpdump-git_20150114 2017-05-13 22:02:22.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="git://git.ffmpeg.org/rtmpdump.git" verify= digest= -commitid= -pkgbase= -vers= +commitid=a107cef +pkgbase=rtmpdump +vers=git_20150114 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +49,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make libdir=/usr/$libdir fi done fi @@ -61,19 +61,29 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P \ + prefix=/usr libdir=/usr/$libdir mandir=/usr/share/man fi done + ln -s librtmp.so.1 $P/usr/$libdir/librtmp.so.0 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/librtmp 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/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | 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