Info2: << Package: fpc-cross-mipsel-%type_pkg[platform] Version: 3.2.2 Revision: 1 Type: platform (linux) Depends: << fpc-cross-common (>= 3.2.2-1), mipsel-%type_pkg[platform]-binutils << Recommends: fpc-doc CustomMirror: << eur-HU: ftp://ftp.hu.freepascal.org/pub/fpc/ nam-CA: ftp://mirror.freemirror.org/pub/fpc/ Primary: ftp://ftp.freepascal.org/pub/fpc/ << Source: mirror:custom:/dist/%v/source/fpc-%v.source.tar.gz Source-Checksum: SHA256(d542e349de246843d4f164829953d1f5b864126c5b62fd17c9b45b33e23d2f44) SourceDirectory: fpc-%v UseMaxBuildJobs: false CompileScript: << #!/bin/sh -ev # Yosemite fix if [ "$(uname -r | cut -d. -f1)" -ge 14 ]; then export MACOSX_DEPLOYMENT_TARGET=10.9 ; fi # compile rtl and packages for mipsel make rtl packages OPT="-ap" CPU_TARGET=mipsel OS_TARGET=%type_pkg[platform] << InstallScript: << #!/bin/sh -ev # Yosemite fix if [ "$(uname -r | cut -d. -f1)" -ge 14 ]; then export MACOSX_DEPLOYMENT_TARGET=10.9 ; fi # install all units from the rtl and packages make rtl_install packages_install OS_TARGET=%type_pkg[platform] CPU_TARGET=mipsel INSTALL_PREFIX=%i CROSSINSTALL=1 # remove duplicate doc files rm -rf %i/share/doc/fpc-%v/*/*.txt rm -rf %i/share/doc/fpc-%v/ide/*.ide # remove duplicate bin files rm -rf %i/bin << InfoTest: << TestScript: << #!/bin/sh -ev # Build a trivial small program to test for fundamental flaws cat >HelloWorld.pas < <<