--- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/lshw/PlamoBuild.lshw-B.02.16 2017-06-11 20:54:58.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ezix.org/software/files/lshw-B.02.16.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lshw +vers=B.02.16 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README `echo docs/{TODO,IODC.txt,Changelog,proc_usb_info.txt}` + COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,6 +51,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make gui fi done fi @@ -61,9 +63,30 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install-gui DESTDIR=$P fi done + touch $P/usr/sbin/gtk-lshw + install -d $P/usr/share/polkit-1/actions + cat <<- "EOF" > $P/usr/share/polkit-1/actions/org.plamolinux.pkexec.gtk-lshw.policy + + + + + Authentication is required to run the gtk-lshw + gtk-lshw + + auth_admin + auth_admin + auth_admin + + /usr/sbin/gtk-lshw + true + + + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,7 +94,10 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/lshw + 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/polkit-1/actions | 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz