wok-next diff fpc/receipt @ rev 21153
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 16:45:41 2019 +0200 (2019-01-31) |
parents | a3c581bf52b8 |
children |
line diff
1.1 --- a/fpc/receipt Fri Aug 10 12:53:17 2018 +0300 1.2 +++ b/fpc/receipt Thu Jan 31 16:45:41 2019 +0200 1.3 @@ -4,47 +4,29 @@ 1.4 VERSION="2.6.4" 1.5 CATEGORY="development" 1.6 SHORT_DESC="The Free Pascal Compiler" 1.7 -MAINTAINER="slaxemulator@gmail.com" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="GPL2 LGPL2.1" 1.10 WEB_SITE="https://www.freepascal.org/" 1.11 1.12 TARBALL="fpcbuild-$VERSION.tar.gz" 1.13 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL" 1.14 1.15 -BUILD_DEPENDS_arm="" 1.16 BUILD_DEPENDS="fpc-bootstrap" 1.17 -SPLIT="fpc-src fpc" 1.18 - 1.19 -CROSS_BUGS="arm-slitaz-gnueabi-as: Command not found" 1.20 +SPLIT="$PACKAGE-src $PACKAGE" 1.21 1.22 compile_rules() { 1.23 sed -i 's|/man$|/share/man|' $src/install/man/Makefile # fix man install path 1.24 1.25 case $ARCH in 1.26 - arm*) Arch='arm';; 1.27 i?86) Arch='386';; 1.28 x86_64) Arch='x64';; 1.29 esac 1.30 1.31 - case "$ARCH" in 1.32 - arm*) 1.33 - make crossinstall \ 1.34 - NOGDB=1 \ 1.35 - CPU_TARGET=arm \ 1.36 - OS_TARGET=linux \ 1.37 - OPT=-dFPC_ARMEL \ 1.38 - CROSSBINDIR=/cross/$ARCH/tools/bin \ 1.39 - BINUTILSPREFIX=arm-slitaz-gnueabi- \ 1.40 - INSTALL_PREFIX=$install/usr 1.41 - ;; 1.42 - *) 1.43 - make NOGDB=1 FPC=/usr/bin/ppc$Arch build && 1.44 - make -j1 NOGDB=1 FPC=/usr/bin/ppc$Arch PREFIX=$install/usr install 1.45 - ;; 1.46 - esac || return 1 1.47 + make NOGDB=1 FPC=/usr/bin/ppc$Arch build && 1.48 + make -j1 NOGDB=1 FPC=/usr/bin/ppc$Arch PREFIX=$install/usr install || return 1 1.49 1.50 # install package license 1.51 - install -Dm 644 $src/fpcsrc/rtl/COPYING.FPC \ 1.52 + install -Dm644 fpcsrc/rtl/COPYING.FPC \ 1.53 $install/usr/share/licenses/fpc/COPYING.FPC 1.54 1.55 # create symlink for compiler 1.56 @@ -68,7 +50,7 @@ 1.57 fpc) 1.58 copy @std @rm 1.59 DEPENDS="ncurses" 1.60 - CONFIG_FILE="/etc/fpc.cfg" 1.61 + CONFIG_FILES="/etc/fpc.cfg" 1.62 TAGS="compiler pascal" 1.63 ;; 1.64 esac