wok-6.x view nimrod/receipt @ rev 13292
Up tinc (1.0.19)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 27 16:36:53 2012 +0200 (2012-08-27) |
parents | |
children | 03360f041b37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nimrod"
4 VERSION="0.8.14"
5 CATEGORY="development"
6 SHORT_DESC="The nimrod programming langage."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.nimrod-code.org/"
9 TARBALL="${PACKAGE}_$VERSION.zip"
10 WGET_URL="${WEB_SITE}download/$TARBALL"
12 DEPENDS="gcc"
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/uname -m/echo i486/' build.sh
20 chmod +x build.sh install.sh
21 ./build.sh
22 bin/nimrod c 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 $_pkg/nimrod/bin $fs/usr
32 cp -a $_pkg/nimrod/config $fs/etc
33 cp -a $_pkg/nimrod/lib $fs/usr/lib/nimrod
34 cp -a $_pkg/nimrod/doc $fs/usr/share/nimrod
35 }