wok-next view nimrod/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 4e6503d7a19f |
children |
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="devel@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://www.nimrod-code.org/"
10 REPOLOGY="nim"
12 TARBALL="nimrod_$VERSION.zip"
13 WGET_URL="http://nimrod-code.org/download/$TARBALL"
15 BUILD_DEPENDS="gcc glibc-dev readline-dev"
17 compile_rules() {
18 sed -i "s/uname -m/echo $ARCH/" build.sh
19 chmod +x build.sh
20 chmod +x install.sh
21 ./build.sh
22 ./bin/nimrod c -d:release koch
23 ./koch boot -d:release
24 ./install.sh $install
25 }
27 genpkg_rules() {
28 mkdir -p $fs/usr/share/nimrod $fs/usr/lib
29 cp -a $install/nimrod/bin $fs/usr
30 cp -a $install/nimrod/config $fs/etc
31 cp -a $install/nimrod/lib $fs/usr/lib/nimrod
32 cp -a $install/nimrod/doc $fs/usr/share/nimrod
33 DEPENDS="gcc glibc-base readline"
34 }