wok-next annotate nimrod/receipt @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
parents 4e6503d7a19f
children
rev   line source
pascal@13236 1 # SliTaz package receipt.
pascal@13236 2
pascal@13236 3 PACKAGE="nimrod"
devl547@16411 4 VERSION="0.9.2"
pascal@13236 5 CATEGORY="development"
al@21020 6 SHORT_DESC="The Nimrod programming language"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15584 8 LICENSE="GPL"
al@20884 9 WEB_SITE="http://www.nimrod-code.org/"
al@20884 10 REPOLOGY="nim"
al@20884 11
admin@13392 12 TARBALL="nimrod_$VERSION.zip"
admin@13392 13 WGET_URL="http://nimrod-code.org/download/$TARBALL"
pascal@15584 14
admin@13392 15 BUILD_DEPENDS="gcc glibc-dev readline-dev"
pascal@13236 16
al@21020 17 compile_rules() {
pascal@13878 18 sed -i "s/uname -m/echo $ARCH/" build.sh
admin@13392 19 chmod +x build.sh
admin@13392 20 chmod +x install.sh
pascal@13236 21 ./build.sh
admin@13392 22 ./bin/nimrod c -d:release koch
pascal@13236 23 ./koch boot -d:release
al@21020 24 ./install.sh $install
pascal@13236 25 }
pascal@13236 26
al@21020 27 genpkg_rules() {
pascal@13236 28 mkdir -p $fs/usr/share/nimrod $fs/usr/lib
pascal@13878 29 cp -a $install/nimrod/bin $fs/usr
pascal@13878 30 cp -a $install/nimrod/config $fs/etc
pascal@13878 31 cp -a $install/nimrod/lib $fs/usr/lib/nimrod
pascal@13878 32 cp -a $install/nimrod/doc $fs/usr/share/nimrod
al@21020 33 DEPENDS="gcc glibc-base readline"
pascal@13236 34 }