wok-6.x view nimrod/receipt @ rev 15837
Up: fuse to 2.9.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 04:24:04 2014 +0000 (2014-01-27) |
parents | 8437ad3ae814 |
children | ad47999f35d7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nimrod"
4 VERSION="0.9.0"
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 }