wok-next annotate 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
rev   line source
al@20491 1 # SliTaz package receipt v2.
slaxemulator@9411 2
slaxemulator@9411 3 PACKAGE="fpc-bootstrap"
al@20491 4 VERSION="2.6.2" # last 2.x.x version is 2.6.4, and it lacks arm and x86_64 archs
slaxemulator@9411 5 CATEGORY="development"
al@20491 6 SHORT_DESC="Bootstrap to compile fpc"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15604 8 LICENSE="GPL2 LGPL2.1"
al@20906 9 WEB_SITE="https://freepascal.org/"
al@20491 10
al@20491 11 case "$ARCH" in
al@20491 12 x86_64) BOOTSTRAP="x86_64-linux-ppcx64";;
al@20491 13 i?86) BOOTSTRAP="i386-linux-ppc386";;
al@20491 14 esac
pascal@16229 15 TARBALL="$PACKAGE-$ARCH-$VERSION.bz2"
pascal@16229 16 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$BOOTSTRAP.bz2"
pascal@16229 17
al@20491 18 compile_rules() {
al@20491 19 [ -f $src/$TARBALL ] && bunzip2 -d $src/$TARBALL
al@21020 20 install -Dm755 $src/${TARBALL%.bz2} $install/usr/bin/${BOOTSTRAP#*linux-}
al@20491 21 }
slaxemulator@9411 22
al@20491 23 genpkg_rules() {
al@20491 24 copy @std
slaxemulator@9411 25 }