fpc: marked unmaintained
This commit is contained in:
parent
f32594bad4
commit
90474161e7
|
@ -1,6 +1,6 @@
|
|||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zoBgUHIbJtWZopgKHxUrCkc94mEahREoaiZi8Ckscee0j1AEj837VV51FqCV6lieRyg2YnjRfLBiBPsfIxkJQ4=
|
||||
SHA256 (Pkgfile) = ea7bcae633f2adfef6f68610bda23a976ac5f9896ea129a56216f39ed2c09edb
|
||||
RWSagIOpLGJF38MRWBw0Ss5vAsG3z21y7ZXcGQSUcKDlaWVsMqTHNFJGZ3GRLnCzYCDgPf2jrmh83wG/BS6AbXCc/7PcjqF8hgo=
|
||||
SHA256 (Pkgfile) = a9b37e69a6749f4391e4491793591f843c0b0b8c27e0359968531176096c0609
|
||||
SHA256 (.footprint) = 538354f33245a094a32293bbbfcbed8216593e656021a0e58eb5ac6da98ad4bd
|
||||
SHA256 (fpcbuild-3.2.2.tar.gz) = 85ef993043bb83f999e2212f1bca766eb71f6f973d362e2290475dbaaf50161f
|
||||
SHA256 (fpc-3.2.2.source.tar.gz) = d542e349de246843d4f164829953d1f5b864126c5b62fd17c9b45b33e23d2f44
|
||||
|
|
50
fpc/Pkgfile
50
fpc/Pkgfile
|
@ -1,45 +1,45 @@
|
|||
# Description: Free Pascal compiler.
|
||||
# URL: https://www.freepascal.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: unmaintained
|
||||
|
||||
name=fpc
|
||||
version=3.2.2
|
||||
release=1
|
||||
source=(https://sourceforge.net/projects/freepascal/files/Source/$version/fpcbuild-$version.tar.gz
|
||||
https://sourceforge.net/projects/freepascal/files/Source/$version/fpc-$version.source.tar.gz
|
||||
https://sourceforge.net/projects/freepascal/files/Linux/$version/$name-$version.x86_64-linux.tar)
|
||||
https://sourceforge.net/projects/freepascal/files/Source/$version/fpc-$version.source.tar.gz
|
||||
https://sourceforge.net/projects/freepascal/files/Linux/$version/$name-$version.x86_64-linux.tar)
|
||||
|
||||
build() {
|
||||
JOBS='-j1'
|
||||
JOBS='-j1'
|
||||
|
||||
tar -xf fpc-$version.x86_64-linux/binary.x86_64-linux.tar
|
||||
tar -xzf base.x86_64-linux.tar.gz
|
||||
tar -xzf utils-fpcm.x86_64-linux.tar.gz
|
||||
tar -xf fpc-$version.x86_64-linux/binary.x86_64-linux.tar
|
||||
tar -xzf base.x86_64-linux.tar.gz
|
||||
tar -xzf utils-fpcm.x86_64-linux.tar.gz
|
||||
|
||||
# use precompiled fpc to build fpc if it's not installed on the host already
|
||||
[ ! -e /usr/bin/fpc ] && PATH="$SRC/bin:$PATH"
|
||||
# use precompiled fpc to build fpc if it's not installed on the host already
|
||||
[ ! -e /usr/bin/fpc ] && PATH="$SRC/bin:$PATH"
|
||||
|
||||
cd fpcbuild-$version/fpcsrc/
|
||||
cd fpcbuild-$version/fpcsrc/
|
||||
|
||||
make $JOBS PP=$SRC/lib/fpc/$version/ppcx64 build
|
||||
make $JOBS PP=$SRC/lib/fpc/$version/ppcx64 build
|
||||
|
||||
cp $SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 \
|
||||
$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new
|
||||
cp $SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 \
|
||||
$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new
|
||||
|
||||
make $JOBS PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new build
|
||||
rm $SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new
|
||||
make $JOBS PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new build
|
||||
rm $SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64.new
|
||||
|
||||
make $JOBS PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 rtl_clean
|
||||
make $JOBS PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 rtl packages_all utils
|
||||
make $JOBS PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 rtl_clean
|
||||
make $JOBS PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 rtl packages_all utils
|
||||
|
||||
set -- PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 \
|
||||
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
|
||||
set -- PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 \
|
||||
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 $JOBS "$@" compiler_install rtl_install packages_install utils_install
|
||||
ln -sf /usr/lib/fpc/$version/ppcx64 $PKG/usr/bin/ppcx64
|
||||
make $JOBS "$@" compiler_install rtl_install packages_install utils_install
|
||||
ln -sf /usr/lib/fpc/$version/ppcx64 $PKG/usr/bin/ppcx64
|
||||
|
||||
rm -r $PKG/usr/share/doc
|
||||
rm -r $PKG/usr/share/doc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue