wok-next view nimrod/receipt @ rev 20996
Move fonts-liberation*
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 04 16:01:47 2018 +0300 (2018-10-04) |
parents | ad47999f35d7 |
children | d5aab818505e |
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 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 DEPENDS="gcc glibc-base readline"
16 BUILD_DEPENDS="gcc glibc-dev readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i "s/uname -m/echo $ARCH/" build.sh
23 chmod +x build.sh
24 chmod +x install.sh
25 ./build.sh
26 ./bin/nimrod c -d:release koch
27 ./koch boot -d:release
28 ./install.sh $DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/nimrod $fs/usr/lib
35 cp -a $install/nimrod/bin $fs/usr
36 cp -a $install/nimrod/config $fs/etc
37 cp -a $install/nimrod/lib $fs/usr/lib/nimrod
38 cp -a $install/nimrod/doc $fs/usr/share/nimrod
39 }