From ad7a8622d4c3c7270bb1a7498996518066b5569c Mon Sep 17 00:00:00 2001 From: vincents Date: Mon, 29 May 2006 18:58:59 +0000 Subject: [PATCH] added symlinks in /usr/local/bin git-svn-id: trunk@9374 - --- .../install/macosx/lazarus.packproj.template | 49 +++++++++++++++++++ tools/install/macosx/makelazsnapshot.sh | 6 +++ 2 files changed, 55 insertions(+) diff --git a/tools/install/macosx/lazarus.packproj.template b/tools/install/macosx/lazarus.packproj.template index ecb81b2db1..06a8939161 100644 --- a/tools/install/macosx/lazarus.packproj.template +++ b/tools/install/macosx/lazarus.packproj.template @@ -347,6 +347,55 @@ UID 0 + + Children + + + Children + + GID + 0 + Path + ./bin/lazarus + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + Children + + GID + 0 + Path + ./bin/startlazarus + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + GID + 0 + Path + bin + Path Type + 0 + Privileges + 493 + Type + 1 + UID + 0 + GID 0 diff --git a/tools/install/macosx/makelazsnapshot.sh b/tools/install/macosx/makelazsnapshot.sh index 6e23eecb6b..046933c015 100755 --- a/tools/install/macosx/makelazsnapshot.sh +++ b/tools/install/macosx/makelazsnapshot.sh @@ -44,6 +44,12 @@ make lcl LCL_PLATFORM=carbon PP=$COMPILER strip lazarus strip startlazarus +# create symlinks +mkdir -p $BUILDDIR\bin +cd $BUILDDIR\bin +ln -s ../share/lazarus/lazarus lazarus +ln -s ../share/lazarus/startlazarus lazarus + # copy license file, it must be a txt file. cp $LAZBUILDDIR/COPYING.GPL $BUILDDIR/License.txt