wok-next view nimrod/receipt @ rev 19105

Add florence
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed May 04 21:51:37 2016 +0200 (2016-05-04)
parents 3765f181a6d5
children 4e6503d7a19f
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 }