--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/bluez.txz/bluez/PlamoBuild.bluez-4.101 2018-04-04 14:35:10.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=bluez +vers=4.101 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-gstreamer --enable-alsa --enable-usb --enable-tools + --enable-hidd --enable-cups --disable-test --without-systemdunitdir" +DOCS="INSTALL NEWS COPYING `echo doc/{sap,media,input,adapter,health}-api.txt` + `echo doc/{serial,manager,audio,attribute,hfp,device,service}-api.txt` + `echo doc/{network-api,assigned-numbers,control-api,agent-api}.txt` + ChangeLog AUTHORS COPYING.LIB TODO README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +74,29 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/alsa-lib + strip_libdir $P/usr/$libdir/gstreamer-0.10 + touch -t `date '+%m%d0900'` $P/usr/$libdir/{alsa-lib,gstreamer-0.10} 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libblue*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/alsa-lib | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/cups/backend | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-0.10 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/bluetooth + tar rvpf $pkg.tar -C $P usr/include/bluetooth + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/alsa | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/system-services | tail -n+2` + tar rvpf $pkg.tar -C $P etc/bluetooth + tar rvpf $pkg.tar -C $P `cd $P ; find etc/dbus-1/system.d | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/bluetooth 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/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