From: Heiko Z. <smi...@us...> - 2015-02-01 21:30:43
|
Update of /cvsroot/devil-linux/build/scripts In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31165/scripts Modified Files: nut Added Files: libusb-compat Log Message: - nut now provide the usb drivers - added libusb-compat 0.1.5 - updated libusb to 1.0.19 Index: nut =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/nut,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- nut 5 Dec 2011 09:11:38 -0000 1.7 +++ nut 1 Feb 2015 21:30:41 -0000 1.8 @@ -27,7 +27,7 @@ ./configure --prefix=/usr --sysconfdir=/etc/ups --with-statepath=/var/lib/ups \ --with-user=nut --with-group=nut\ - --with-gd-includes --with-gd-libs || exit 1 + --with-gd-includes --with-gd-libs --with-usb || exit 1 make $PMAKE || exit 1 fi --- NEW FILE: libusb-compat --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/libusb-compat,v $ # $Revision: 1.1 $ # $Date: 2015/02/01 21:30:41 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) ./configure --prefix=/usr || exit 1 make $PMAKE all || exit 1 # we have to install this immediately, because this is a library and could be needed by other sources make install || exit 1 ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |