Package: lazarus-lcl-carbon Version: 1.2.6 Revision: 1 License: GPL/LGPL Depends: << lazarus-gtk2 (>= 1.2), (%m = x86_64) fpc-cross-i386-darwin (>= 2.6.4) << Conflicts: lazarus-aqua Replaces: lazarus-aqua Recommends: fpc-doc, lazarus-doc Source: mirror:sourceforge:lazarus/lazarus-%v-0.tar.gz Source-MD5: caa1ee35266ea5e930af064e7efb550c SourceDirectory: lazarus UseMaxBuildJobs: false CompileScript: << #!/bin/sh -ev debug_options="-gl -gw" # ** Start compiling the lazarus component libraries AllUnits="registration lazutils codetools lcl basecomponents bigidecomponents" if [ "%m" = "x86_64" ]; then carbon_arch="PP=ppc386 CPU_TARGET=i386 CPU_SOURCE=i386" ; else carbon_arch="" ; fi make $AllUnits LCL_PLATFORM=carbon OPT="$debug_options" OS_TARGET=darwin $carbon_arch << InstallScript: << #!/bin/sh -ev # ** install the lcl and other libraries/units ** if [ "%m" = "x86_64" ]; then targetDir="i386-darwin" ; else targetDir="%m-darwin" ; fi for path in $(find . -name carbon | cut -f 2- -d '/' | grep $targetDir) ; do install -d $(echo %i/share/lazarus/$(dirname $path)) mv -v $path $(echo %i/share/lazarus/$(dirname $path)) done chmod -R a+rw %i/share/lazarus << Description: The carbon version of the lcl DescUsage: This is the carbon version of the lazarus component library DescPort: << Notes regarding the InstallScript: - find gives the list of directories - cut removes the './' from the beginning of the paths - grep removes the directories, which do not contain unit files << Homepage: http://wiki.freepascal.org/Main_Page Maintainer: Karl-Michael Schindler