#!/bin/bash source /etc/functions.magic ### # libxbox installation script # Copyright (C) Thomas "ShALLaX" Pedley (gentoox@shallax.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ### $important clear echo "This will install libxbox - a library with a collection of Xbox specific" echo "functions." sleep 5 $busy cd /usr/share rm -rf ./libxbox* rm -rf /usr/local/lib/libxbox* rm -rf /usr/include/libxbox* rm -rf /usr/include/xboxi2c-dev.h clear $downloading $wget --limit-rate=$limitrate $gentooxurl/patch-files/libxbox-0.1.tbz2 failCheck download $busy tar -jxvf libxbox-0.1.tbz2 failCheck decompress cd libxbox-0.1 make make install make install-dev echo "" echo "Running ldconfig..." ldconfig env-update echo "All done." sleep 2