|
From: Heiko Z. <smi...@us...> - 2004-12-31 03:09:50
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20385/scripts Added Files: bluez-firmware bluez-hcidump bluez-libs bluez-utils Log Message: - added bluetooth support (Peter de Zoeten + Heiko) --- NEW FILE: bluez-utils --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/bluez-utils,v $ # $Revision: 1.1 $ # $Date: 2004/12/31 03:09:37 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: bluez-utils # Required-Start: $basebuildtools $libs bluez-libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=BLUEZ-UTILS case $1 in build ) if [ "$CONFIG_BLUEZ" = "y" ]; then ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --with-pic || exit 1 make $PMAKE all || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_BLUEZ" = "y" ]; then rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR/usr/{sbin,man} || exit 1 make install DESTDIR=$TMPDIR || exit 1 rm -rf $TMPDIR/usr/lib || exit 1 copy_docs $TMPDIR copy_files $TMPDIR/usr $CDDIR/ || exit 1 copy_files $TMPDIR/etc $ETCDIR/ || exit 1 rm -rf $TMPDIR || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac --- NEW FILE: bluez-firmware --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/bluez-firmware,v $ # $Revision: 1.1 $ # $Date: 2004/12/31 03:09:37 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: bluez-firmware # Required-Start: $basebuildtools $libs bluez-libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=BLUEZ-FIRMWARE case $1 in build ) if [ "$CONFIG_BLUEZ" = "y" ]; then ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --with-pic || exit 1 make $PMAKE all || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_BLUEZ" = "y" ]; then mkdir $CDDIR/lib/firmware cp broadcom/* $CDDIR/lib/firmware || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac --- NEW FILE: bluez-libs --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/bluez-libs,v $ # $Revision: 1.1 $ # $Date: 2004/12/31 03:09:37 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: bluez-libs # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=BLUEZ case $1 in build ) if [ "$CONFIG_BLUEZ" = "y" ]; then ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --with-pic || exit 1 make $PMAKE all || exit 1 # install it into build system, because we need it later mkdir -p /usr/include/bluetooth || exit 1 cp include/*.h /usr/include/bluetooth || exit 1 make install || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_BLUEZ" = "y" ]; then rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR/usr/{sbin,man} || exit 1 make install DESTDIR=$TMPDIR || exit 1 rm -rf $TMPDIR/usr/include || exit 1 rm -rf $TMPDIR/usr/lib/*.a || exit 1 rm -rf $TMPDIR/usr/lib/*.la || exit 1 copy_docs $TMPDIR mkdir -p $CDDIR/usr copy_files $TMPDIR/usr/lib $CDDIR/usr/ || exit 1 copy_files $TMPDIR/usr $CDDIR || exit 1 cp $MYDIR/scripts/bluetooth $ETCDIR/etc/init.d || exit 1 mkdir -p $ETCDIR/etc/bluetooth/ #cp $MYDIR/scripts/root.hint $ETCDIR/etc/bluetooth/root.hint || exit 1 rm -rf $TMPDIR || exit 1 echo "# Start $MYNAME?" >> $CONFIGFILE echo "START_$MYNAME=no" >> $CONFIGFILE echo >> $CONFIGFILE echo "HELP_$MYNAME=\"$MYNAME is a bluetooth stack\"" >> $SOFTWAREHELP fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac --- NEW FILE: bluez-hcidump --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/bluez-hcidump,v $ # $Revision: 1.1 $ # $Date: 2004/12/31 03:09:37 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: bluez-hcidump # Required-Start: $basebuildtools $libs bluez-libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=BLUEZ-HCIDUMP case $1 in build ) if [ "$CONFIG_BLUEZ" = "y" ]; then ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --with-pic || exit 1 make $PMAKE all || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_BLUEZ" = "y" ]; then rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR/usr/{sbin,man} || exit 1 # install it into build system, because we need it later make install DESTDIR=$TMPDIR || exit 1 rm -rf $TMPDIR/usr/lib || exit 1 copy_docs $TMPDIR copy_files $TMPDIR/usr $CDDIR/ || exit 1 rm -rf $TMPDIR || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |