All pastes #139592 Raw Edit

Stuff

public text v1 · immutable
#139592 ·published 2006-08-20 01:31 UTC
rendered paste body
brandon@voyager:~/files/devel/soc/kformater/kmformat-0.1+0.1beta$ ls -l
total 40
-rw-r--r-- 1 brandon brandon     0 2006-08-06 12:10 autoscan.log
-rw-r--r-- 1 brandon brandon    85 2006-08-09 04:26 configure.in
-rw-r--r-- 1 brandon brandon 17987 2006-08-09 09:25 COPYING
drwxr-xr-x 2 brandon brandon   112 2006-08-19 20:04 doc
-rwx------ 1 brandon brandon  3135 2006-08-17 12:09 install
-rw------- 1 brandon brandon   188 2006-08-09 09:38 INSTALL
-rw-r--r-- 1 brandon brandon   182 2006-08-09 04:30 Makefile.am
-rw-r--r-- 1 brandon brandon   622 2006-08-17 08:41 README
drwxr-xr-x 2 brandon brandon   464 2006-08-19 20:04 src
brandon@voyager:~/files/devel/soc/kformater/kmformat-0.1+0.1beta$ cat install
echo  KMFormat installing...
echo you need QT4 to install this program

if test -e /usr/lib/libQtGui_debug.so.4 ; then
echo Check for QT4 OK
else
echo you need QT4 to install it
exit
fi
if test -e /usr/lib/libQtCore_debug.so.4 ; then
echo you need QT4 to install it
echo Check for QT4 OK
else
exit
fi
if test -e /lib/libpthread.so.0 ; then
echo Check for libpthread OK
else
echo you need libpthread to install it
exit
fi
if test -e /usr/lib/libstdc++.so.6; then
echo Check for libstdc++ OK
else
echo you need libstdc++ to install it
exit
fi
if test -e  /lib/libgcc_s.so.1; then
echo Check forlibgcc_s OK
else
echo you need libgcc to install it
exit
fi
if test -e /lib/libc.so.6 ; then
echo Check for libc OK
else
echo you need libc to install it
exit
fi
if test -e /usr/lib/libexpat.so.1 ; then
echo Check for libexpat OK
else
echo you need libexpat to install it
exit
fi
if test -e /usr/lib/libXt.so.6 ; then
echo Check for libXt OK
else
echo you need libXt to install it
exit
fi
if test -e  /usr/lib/libpng12.so.0; then
echo Check for libpng OK
else
echo you need libpng12 to install it
exit
fi
if test -e /usr/lib/libSM.so.6 ; then
echo Check for libSM OK
else
echo you need libSM to install it
exit
fi
if test -e /usr/lib/libXinerama.so.1 ; then
echo Check for libXinerama OK
else
echo you need libXinerama to install it
exit
fi
if test -e /usr/lib/libICE.so.6; then
echo Check for libICE OK
else
echo you need libICE to install it
exit
fi
if test -e /usr/lib/libz.so.1 ; then
echo Check for libz OK
else
echo you need QT4 to install it
exit
fi
if test -e /usr/lib/libXi.so.6 ; then
echo Check for libXi OK
else
echo you need QT4 to install it
exit
fi
if test -e /usr/lib/libXrender.so.1 ; then
echo Check for libXrender OK
else
echo you need QT4 to install it
exit
fi
if test -e  /usr/lib/libXrandr.so.2 ; then
echo Check for libXrandr OK
else
echo you need libXrandr to install it
exit
fi
if test -e /usr/lib/libXcursor.so.1 ; then
echo Check for libXcursor OK
else
echo you need libXcursor to install it
exit
fi
if test -e /usr/lib/libfreetype.so.6 ; then
echo Check for libfreetype OK
else
echo you need libfreetype to install it
exit
fi
if test -e /usr/lib/libfontconfig.so.1 ; then
echo Check for libfontconfig OK
else
echo you need libfontconfig to install it
exit
fi
if test -e /usr/lib/libXext.so.6 ; then
echo Check for libXext OK
else
echo you need libXext to install it
exit
fi
if test -e /usr/lib/libX11.so.6 ; then
echo Check for libX11 OK
else
echo you need libX11 to install it
exit
fi
if test -e /lib/libdl.so.2 ; then
echo Check for libdl OK
else
echo you need libdl to install it
exit
fi
if test -e /usr/lib/libXfixes.so.3 ; then
echo Check for libXfixes OK
else
echo you need libXfixes to install it
exit
fi
if test -e /usr/lib/libXau.so.6 ; then
echo Check for libXau OK
else
echo you need libXau to install it
exit
fi

if  [ "$USER" = "root" ]
        then
        cd src
        make
        cp KMFormat /usr/bin/X11
        mkdir /usr/bin/X11/kmformat
        cp *.png /usr/bin/X11/kmformat
        cd ..
        mkdir /usr/share/doc/KMFormat
        cp README /usr/share/doc/KMFormat
        cp doc/*.pdf /usr/share/doc/KMFormat
else
        echo you must be root to install it
fi
brandon@voyager:~/files/devel/soc/kformater/kmformat-0.1+0.1beta$