Selaa lähdekoodia

* major updates for solaris

carl 23 vuotta sitten
vanhempi
commit
d1995fd5fb
2 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa
  1. 4 4
      install/sunos/install.sh
  2. 4 4
      install/sunos/makepack.sh

+ 4 - 4
install/sunos/install.sh

@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Free Pascal installation script for Linux.
+# Free Pascal installation script for Solaris
 # Copyright 1996-2002 Michael Van Canneyt and Peter Vreman
 #
 # Don't edit this file. 
@@ -105,7 +105,7 @@ tar xf binary.tar
 echo Installing compiler and RTL ...
 unztar basesun $PREFIX
 rm -f $EXECDIR/ppc386
-ln -sf $LIBDIR/ppc386 $EXECDIR/ppc386
+ln -sf $LIBDIR/$VERSION/ppc386 $EXECDIR/ppc386
 echo Installing GNU Assembler and Linker Mandatory.
 unztar asldsun $PREFIX
 echo Installing utilities...
@@ -155,7 +155,7 @@ echo
 # Install the documentation. Optional.
 if yesno "Install documentation"; then
   echo Installing documentation in $DOCDIR ...
-  unztar docs.tar.gz $PREFIX
+  unztar fpcdoc $PREFIX
   echo Done.
 fi
 echo
@@ -171,7 +171,7 @@ fi
 echo
 
 # Install /etc/fpc.cfg, this is done using the samplecfg script
-$LIBDIR/samplecfg $LIBDIR
+$LIBDIR/$VERSION/samplecfg $LIBDIR
 
 # The End
 echo

+ 4 - 4
install/sunos/makepack.sh

@@ -6,7 +6,7 @@
 
 # Version
 VERSION=1.0.6
-RELEASE=ELF
+RELEASE=i386
 
 unset FPCDIR
 
@@ -21,7 +21,7 @@ unset FPCDIR
 
 SOURCES=`/bin/ls *src.tar.gz`
 FILES=`/bin/ls *sun.tar.gz *exm.tar.gz`
-RELFILES="binary.tar sources.tar demo.tar.gz docs.tar.gz install.sh gtar gzip"
+RELFILES="binary.tar sources.tar demo.tar.gz fpcdoc.tar.gz install.sh gtar gzip"
 
 echo Creating binary.tar
 tar cf binary.tar $FILES
@@ -31,5 +31,5 @@ echo Copying install.sh
 cp install/sunos/install.sh .
 chmod 755 install.sh
 
-echo Creating fpc-$VERSION.$RELEASE.tar
-tar cf fpc-$VERSION.$RELEASE.tar $RELFILES
+echo Creating fpc-$VERSION-$RELEASE.tar
+tar cf fpc-$VERSION-$RELEASE.tar $RELFILES