wok-6.x view nimrod/receipt @ rev 20578
clisp, zfs-fuse: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 18:40:39 2018 +0100 (2018-12-13) |
parents | 3765f181a6d5 |
children | e3079653b462 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nimrod"
4 VERSION="0.9.2"
5 CATEGORY="development"
6 SHORT_DESC="The Nimrod programming language."
7 MAINTAINER="admin@trixarian.net"
8 LICENSE="GPL"
9 TARBALL="nimrod_$VERSION.zip"
10 WEB_SITE="http://www.nimrod-code.org/"
11 WGET_URL="http://nimrod-code.org/download/$TARBALL"
13 DEPENDS="gcc glibc-base readline"
14 BUILD_DEPENDS="gcc glibc-dev readline-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i "s/uname -m/echo $ARCH/" build.sh
21 chmod +x build.sh
22 chmod +x install.sh
23 ./build.sh
24 ./bin/nimrod c -d:release koch
25 ./koch boot -d:release
26 ./install.sh $DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/nimrod $fs/usr/lib
33 cp -a $install/nimrod/bin $fs/usr
34 cp -a $install/nimrod/config $fs/etc
35 cp -a $install/nimrod/lib $fs/usr/lib/nimrod
36 cp -a $install/nimrod/doc $fs/usr/share/nimrod
37 }