wok-next view fpc-bootstrap/receipt @ rev 20545
vmtouch: create $install/usr/bin path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 03 15:08:22 2018 +0200 (2018-04-03) |
parents | c4e53a39395a |
children | a3c581bf52b8 |
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="slaxemulator@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://freepascal.org/"
11 case "$ARCH" in
12 arm*) BOOTSTRAP="arm-linux-ppcarm";;
13 x86_64) BOOTSTRAP="x86_64-linux-ppcx64";;
14 i?86) BOOTSTRAP="i386-linux-ppc386";;
15 esac
16 TARBALL="$PACKAGE-$ARCH-$VERSION.bz2"
17 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$BOOTSTRAP.bz2"
19 compile_rules() {
20 [ -f $src/$TARBALL ] && bunzip2 -d $src/$TARBALL
21 install -Dm 755 $src/${TARBALL%.bz2} $install/usr/bin/${BOOTSTRAP#*linux-}
22 }
24 genpkg_rules() {
25 copy @std
26 }