mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Preliminary FreePascal
This commit is contained in:
56
dev-lang/fpc/fpc-2.6.2.recipe
Normal file
56
dev-lang/fpc/fpc-2.6.2.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="An open source compiler for Pascal and Object Pascal"
|
||||
DESCRIPTION="
|
||||
Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler.\
|
||||
It can target multiple processor architectures: Intel x86, AMD64/x86-64,\
|
||||
PowerPC, PowerPC64, SPARC, and ARM. Supported operating systems include Linux,\
|
||||
FreeBSD, Haiku, Mac OS X/iOS/Darwin, DOS, Win32, Win64, WinCE, OS/2, MorphOS,\
|
||||
Nintendo GBA, Nintendo DS, and Nintendo Wii. Additionally, JVM, MIPS (big and\
|
||||
little endian variants) and Motorola 68k architecture targets are available in\
|
||||
the development versions."
|
||||
HOMEPAGE="http://www.freespascal.org"
|
||||
SRC_URI="http://sourceforge.net/projects/freepascal/files/Source/2.6.2/fpc-2.6.2.source.tar.gz/download"
|
||||
CHECKSUM_MD5="d501bb766b728a50d3a38adbe195528e"
|
||||
LICENSE="
|
||||
GNU LGPL v3
|
||||
GNU GPL v3
|
||||
"
|
||||
COPYRIGHT="1993-2013 by Florian Klaempfl"
|
||||
REVISION="1"
|
||||
|
||||
DISABLE_SOURCE_PACKAGE=yes
|
||||
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
fpc$secondaryArchSuffix = $portVersion
|
||||
cmd:fpc$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
fpc == 2.6.2_bin
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:tar
|
||||
cmd:wget
|
||||
"
|
||||
|
||||
SOURCE_DIR="fpc-2.6.2"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make all
|
||||
}
|
||||
INSTALL()
|
||||
{
|
||||
make install INSTALL_PREFIX=$prefix
|
||||
}
|
||||
43
dev-lang/fpc/fpc-2.6.2_bin.recipe
Normal file
43
dev-lang/fpc/fpc-2.6.2_bin.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY="FreePascalCompiler binary"
|
||||
DESCRIPTION="FreePascalCompiler binary"
|
||||
HOMEPAGE="http://www.freepascal.org"
|
||||
SRC_URI="ftp://freepascal.stack.nl/pub/fpc/dist/2.6.0/i386-haiku/fpc-2.6.0.i386-haiku.tar"
|
||||
CHECKSUM_MD5="e45911a932ff8fdb4578dae2f96c19a1"
|
||||
LICENSE="
|
||||
GNU LGPL v3
|
||||
GNU GPL v3
|
||||
"
|
||||
COPYRIGHT="1993-2013 by Florian Klaempfl"
|
||||
REVISION="1"
|
||||
|
||||
DISABLE_SOURCE_PACKAGE=yes
|
||||
|
||||
BUILD_ACTIVATION_PHASE="INSTALL"
|
||||
|
||||
ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
fpc = $portVersion
|
||||
cmd:fpc = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
binutils
|
||||
cmd:tar
|
||||
"
|
||||
SOURCE_DIR="fpc-2.6.0.i386-haiku"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
echo "Please put as prefix: $prefix"
|
||||
sh ./install.sh
|
||||
}
|
||||
INSTALL()
|
||||
{
|
||||
true
|
||||
}
|
||||
Reference in New Issue
Block a user