mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
DESCRIPTION="Free Pascal Compiler - open source compiler for pascal and object pascal"
|
|
HOMEPAGE="http://www.freepascal.org"
|
|
SRC_URI="ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
|
http://fpc.planetmirror.com/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
|
ftp://gd.tuwien.ac.at/languages/pascal/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
|
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
|
http://mirror.mirimar.net/freepascal/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
|
ftp://freepascal.stack.nl/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
|
ftp://ftp.no.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz
|
|
ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz"
|
|
|
|
CHECKSUM_MD5="0edf0d6f52e1e3fd6ef6836431f4d13b"
|
|
REVISION="1"
|
|
STATUS_HAIKU="untested"
|
|
DEPEND="dev-lang/fpc"
|
|
|
|
BUILD()
|
|
{
|
|
cd fpc-2.6.0
|
|
make build
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd fpc-2.6.0
|
|
make install INSTALL_PREFIX=${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY` \
|
|
FPCDIR=${DESTDIR}`finddir B_USER_LIB_DIRECTORY`/fpc/2.6.0
|
|
# Make link to the ppc386 executable
|
|
ln -fs ${DESTDIR}`finddir B_USER_LIB_DIRECTORY`/fpc/2.6.0/ppc386 \
|
|
${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY`/bin
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd fpc-2.6.0/tests
|
|
make full TEST_FPC=${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY`/bin/fpc
|
|
}
|
|
|
|
LICENSE="GNU LGPL v3
|
|
GNU GPL v3"
|
|
COPYRIGHT="1993-2011 by Florian Klaempfl"
|