summaryrefslogtreecommitdiff
path: root/portsToCome/fpc/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-06 18:47:03 +0200
committerErich Eckner <git@eckner.net>2019-04-06 18:48:28 +0200
commit9112dda236fc59ed7724b1df859ae9bc536fe688 (patch)
tree57a72f448635d6a9d89c56eccc4883f9e72b5425 /portsToCome/fpc/Pkgfile
parentede8d8f493e8b7f683c09ce69862343164bf3faf (diff)
downloadcrux-ports-9112dda236fc59ed7724b1df859ae9bc536fe688.tar.xz
fpc released
Diffstat (limited to 'portsToCome/fpc/Pkgfile')
-rw-r--r--portsToCome/fpc/Pkgfile41
1 files changed, 0 insertions, 41 deletions
diff --git a/portsToCome/fpc/Pkgfile b/portsToCome/fpc/Pkgfile
deleted file mode 100644
index e4f9da8..0000000
--- a/portsToCome/fpc/Pkgfile
+++ /dev/null
@@ -1,41 +0,0 @@
-# Description: A Free Pascal compiler.
-# URL: http://www.freepascal.org/
-# Packager: Danny Rawlins, crux at romster dot me
-# Maintainer: Danny Rawlins, crux at romster dot me
-
-name=fpc
-version=3.0.0
-release=1
-source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz
- http://crux.ster.zone/downloads/fpc/md5/2f440a0e40d134ed67db2fbf58c6e30a/x86_64-linux-ppcx64.bz2
- ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb/v7.2/libgdb_mingw702.zip)
-
-build() {
- bunzip2 x86_64-linux-ppcx64.bz2
- chmod 0755 x86_64-linux-ppcx64
-
- export LIBGDBDIR=$SRC/libgdb/win64/x86_64/
-
- cd fpcbuild-$version/fpcsrc/
-
- make -j 1 PP=$SRC/x86_64-linux-ppcx64 build
-
- cp $SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 \
- $SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new
-
- make -j 1 PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new build
- rm $SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new
-
- make -j 1 PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 rtl_clean
- make -j 1 PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 rtl packages_all utils
-
- set -- PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 \
- FPCMAKE=$SRC/fpcbuild-$version/fpcsrc/utils/fpcm/bin/x86_64-linux/fpcmake \
- INSTALL_PREFIX=$PKG/usr \
- INSTALL_DOCDIR=$PKG/usr/share/doc/fpcbuild \
- INSTALL_MANDIR=$PKG/usr/share/man \
- INSTALL_SOURCEDIR=$PKG/usr/lib/fpc/fpcbuild-$version/source
-
- make -j 1 "$@" compiler_install rtl_install packages_install utils_install
- ln -sf /usr/lib/fpc/$version/ppcx64 $PKG/usr/bin/ppcx64
-}