wok-next view fpc-bootstrap/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a3c581bf52b8
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fpc-bootstrap"
4 VERSION="2.6.2" # last 2.x.x version is 2.6.4, and it lacks arm and x86_64 archs
5 CATEGORY="development"
6 SHORT_DESC="Bootstrap to compile fpc"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://freepascal.org/"
11 case "$ARCH" in
12 x86_64) BOOTSTRAP="x86_64-linux-ppcx64";;
13 i?86) BOOTSTRAP="i386-linux-ppc386";;
14 esac
15 TARBALL="$PACKAGE-$ARCH-$VERSION.bz2"
16 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$BOOTSTRAP.bz2"
18 compile_rules() {
19 [ -f $src/$TARBALL ] && bunzip2 -d $src/$TARBALL
20 install -Dm755 $src/${TARBALL%.bz2} $install/usr/bin/${BOOTSTRAP#*linux-}
21 }
23 genpkg_rules() {
24 copy @std
25 }