wok-6.x view nimrod/receipt @ rev 14283
Add perl-fuse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 15:49:36 2013 +0200 (2013-04-06) |
parents | 03360f041b37 |
children | 3765f181a6d5 |
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 TARBALL="nimrod_$VERSION.zip"
9 WEB_SITE="http://www.nimrod-code.org/"
10 WGET_URL="http://nimrod-code.org/download/$TARBALL"
11 DEPENDS="gcc glibc-base readline"
12 BUILD_DEPENDS="gcc glibc-dev readline-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
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 $DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/nimrod $fs/usr/lib
31 cp -a $install/nimrod/bin $fs/usr
32 cp -a $install/nimrod/config $fs/etc
33 cp -a $install/nimrod/lib $fs/usr/lib/nimrod
34 cp -a $install/nimrod/doc $fs/usr/share/nimrod
35 }