fpc: update to 3.2.0.
This commit is contained in:
parent
8cce24ec80
commit
4959812b06
|
@ -1,7 +1,8 @@
|
|||
# Template file for 'fpc'
|
||||
pkgname=fpc
|
||||
version=3.0.4
|
||||
revision=2
|
||||
version=3.2.0
|
||||
revision=1
|
||||
archs="x86_64* i686*"
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="${pkgname}build-${version}"
|
||||
conf_files="/etc/fpc.cfg /etc/fppkg.cfg"
|
||||
|
@ -9,24 +10,24 @@ hostmakedepends="rpmextract"
|
|||
makedepends="ncurses-devel zlib-devel expat-devel"
|
||||
short_desc="Free Pascal Compiler"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-2, LGPL-2.1, FPC-FPR"
|
||||
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="http://freepascal.org/"
|
||||
distfiles="${SOURCEFORGE_SITE}/freepascal/Source/${version}/${pkgname}build-${version}.tar.gz"
|
||||
checksum=f66514e6f2c2e4e1bccccb4d554c24b77682ed61c87811ae5dd210f421855e76
|
||||
checksum=f9b914eace989a023fb953da203dc0d973b44487568b4138c7d5b9613d7d6838
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*)
|
||||
distfiles+=" ${SOURCEFORGE_SITE}/freepascal/Linux/${version}/${pkgname}-${version}-1.x86_64.rpm"
|
||||
checksum+=" c7b75f09174a502d8dd776fbfabcad3e4360494fd635445185159b21001d65f1"
|
||||
checksum+=" 1f74e1ad3ced2dd67688fdb92edd42e73cdc31ef96056f8739449d70a9306f2c"
|
||||
;;
|
||||
i686*)
|
||||
distfiles+=" ${SOURCEFORGE_SITE}/freepascal/Linux/${version}/${pkgname}-${version}-1.i686.rpm"
|
||||
checksum+=" a8f1ea31c63e8cd96dbdecf02af97311f14629babe58b4bd18ecfa094a13ad45"
|
||||
checksum+=" 05c5600c9461362a08df100cf50ca125cb2b4d5bfe4da48cf8c144f2bf4617a2"
|
||||
;;
|
||||
esac
|
||||
# TODO: figure out cross-build and how to unwrap the ARM .tar.
|
||||
nocross=yes
|
||||
nopie=yes
|
||||
archs="x86_64* i686*"
|
||||
noverifyrdeps=yes
|
||||
|
||||
post_extract() {
|
||||
# relative links needed
|
||||
|
@ -57,7 +58,6 @@ do_install() {
|
|||
PATH=$DESTDIR/usr/bin:$PATH \
|
||||
$DESTDIR/usr/lib/fpc/${version}/samplecfg \
|
||||
$DESTDIR/usr/lib/fpc/${version} $DESTDIR/etc
|
||||
sed -i "s,${DESTDIR},,g" $DESTDIR/etc/*.cfg $DESTDIR/etc/fppkg/* $DESTDIR/usr/lib/fpc/${version}/ide/text/*
|
||||
sed -i "s,${DESTDIR},,g" $DESTDIR/etc/*.cfg $DESTDIR/etc/fppkg/default $DESTDIR/usr/lib/fpc/${version}/ide/text/*
|
||||
vlicense fpcsrc/rtl/COPYING.FPC
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue