mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 23:09:45 +02:00
removed setup.sh
git-svn-id: trunk@9597 -
This commit is contained in:
parent
07a636a01a
commit
e9000b7286
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -2583,7 +2583,6 @@ tools/install/rpm/fpc.spec.template svneol=native#text/plain
|
|||||||
tools/install/rpm/fpc_crosswin32.spec.template svneol=native#text/plain
|
tools/install/rpm/fpc_crosswin32.spec.template svneol=native#text/plain
|
||||||
tools/install/rpm/get_rpm_source_dir.sh svneol=native#text/plain
|
tools/install/rpm/get_rpm_source_dir.sh svneol=native#text/plain
|
||||||
tools/install/rpm/lazarus.spec.template svneol=native#text/plain
|
tools/install/rpm/lazarus.spec.template svneol=native#text/plain
|
||||||
tools/install/setup.sh svneol=native#text/plain
|
|
||||||
tools/install/smart_strip.sh svneol=native#text/plain
|
tools/install/smart_strip.sh svneol=native#text/plain
|
||||||
tools/install/win32/build-fpc.bat svneol=native#text/x-msdos-program
|
tools/install/win32/build-fpc.bat svneol=native#text/x-msdos-program
|
||||||
tools/install/win32/build-lazarus.bat svneol=native#text/x-msdos-program
|
tools/install/win32/build-lazarus.bat svneol=native#text/x-msdos-program
|
||||||
|
@ -39,7 +39,7 @@ if [ "x$1" != "x" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# set here the fpc cvs dates for the various versions
|
# set here the fpc svn dates for the various versions
|
||||||
if [ "x$FPCVersion" = "xdevel" ]; then
|
if [ "x$FPCVersion" = "xdevel" ]; then
|
||||||
Year=04
|
Year=04
|
||||||
Month=06
|
Month=06
|
||||||
@ -60,7 +60,7 @@ SrcPatch=fpc-src-patch
|
|||||||
TmpDir=/tmp/fpc$LazVersion
|
TmpDir=/tmp/fpc$LazVersion
|
||||||
SpecFile=$TmpDir/fpc/install/fpc.spec
|
SpecFile=$TmpDir/fpc/install/fpc.spec
|
||||||
|
|
||||||
# download fpc cvs if necessary
|
# download fpc svn if necessary
|
||||||
if [ ! -f $SrcTGZ ]; then
|
if [ ! -f $SrcTGZ ]; then
|
||||||
./create_fpc_export_tgz.sh $SrcTGZ $FPCVersion $Month/$Day/$Year
|
./create_fpc_export_tgz.sh $SrcTGZ $FPCVersion $Month/$Day/$Year
|
||||||
fi
|
fi
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
WHERE=`pwd`
|
|
||||||
|
|
||||||
FPC="y"
|
|
||||||
echo "Install fpc-1.9.6 (Only say no if you already have it/newer) [y/n] ?"
|
|
||||||
read FPC
|
|
||||||
if [ $FPC == "y" ] ; then
|
|
||||||
FPCSRC="u"
|
|
||||||
echo "Installing freepascal"
|
|
||||||
cd $WHERE/fpc
|
|
||||||
yes "" | ./install.sh
|
|
||||||
echo "Installing freepascal sources"
|
|
||||||
cd /
|
|
||||||
rm -frv /usr/src/fpc-1.9.6
|
|
||||||
rm -frv /usr/src/fpc
|
|
||||||
tar zxvf $WHERE/fpcsrc.tar.gz
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Installing lazarus"
|
|
||||||
rm -frv /usr/share/lazarus
|
|
||||||
cp -arfv $WHERE/lazarus /usr/share
|
|
||||||
chown -R root:root /usr/share/lazarus
|
|
||||||
chmod -R 755 /usr/share/lazarus
|
|
||||||
|
|
||||||
COMPILE="ASK"
|
|
||||||
echo "CVS allows you to update your lazarus installation at any point to the latest version"
|
|
||||||
echo "Would you like to do this now [y/n]?"
|
|
||||||
read CVS
|
|
||||||
if [ "$CVS.x" == "y.x" ] ; then
|
|
||||||
cd /usr/share
|
|
||||||
cd /usr/share/lazarus
|
|
||||||
cvs -z3 update
|
|
||||||
COMPILE="y"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$COMPILE" == "ASK" ] ; then
|
|
||||||
echo "Would you like to recompile lazarus now [y/n]?"
|
|
||||||
echo "This is optional"
|
|
||||||
read $COMPILE
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$COMPILE" == "y" ] ; then
|
|
||||||
cd /usr/share/lazarus
|
|
||||||
make
|
|
||||||
fi
|
|
||||||
|
|
||||||
ln -s /usr/share/lazarus/lazarus /usr/bin/lazarus
|
|
||||||
|
|
||||||
echo "All done"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user