wok view nimrod/receipt @ rev 25416

updated wxWidgets and wxWidgets-dev (3.1.3 -> 3.2.0)
author Hans-G?nter Theisgen
date Thu Aug 04 09:20:59 2022 +0100 (2022-08-04)
parents e3079653b462
children 76d8d4e931f4
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="https://min-lang.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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://nim-lang.org/install.html 2>/dev/null | \
20 sed '/source/!d;s|.*nim-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 sed -i "s/uname -m/echo $ARCH/" build.sh
28 chmod +x build.sh
29 chmod +x install.sh
30 ./build.sh
31 ./bin/nimrod c -d:release koch
32 ./koch boot -d:release
33 ./install.sh $DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/nimrod $fs/usr/lib
40 cp -a $install/nimrod/bin $fs/usr
41 cp -a $install/nimrod/config $fs/etc
42 cp -a $install/nimrod/lib $fs/usr/lib/nimrod
43 cp -a $install/nimrod/doc $fs/usr/share/nimrod
44 }