# HG changeset patch # User Pascal Bellard # Date 1344944350 -7200 # Node ID eb36f0d250b48cb436c1ab1895c1d5058bd1e380 # Parent 72b240ad14c5d7f760f9d8fb98ffdcef9da8602b Move from undigest: nimrod diff -r 72b240ad14c5 -r eb36f0d250b4 nimrod/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nimrod/receipt Tue Aug 14 13:39:10 2012 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="nimrod" +VERSION="0.8.14" +CATEGORY="development" +SHORT_DESC="The nimrod programming langage." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.nimrod-code.org/" +TARBALL="${PACKAGE}_$VERSION.zip" +WGET_URL="${WEB_SITE}download/$TARBALL" + +DEPENDS="gcc" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's/uname -m/echo i486/' build.sh + chmod +x build.sh install.sh + ./build.sh + bin/nimrod c koch + ./koch boot -d:release + ./install.sh $DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/nimrod $fs/usr/lib + cp -a $_pkg/nimrod/bin $fs/usr + cp -a $_pkg/nimrod/config $fs/etc + cp -a $_pkg/nimrod/lib $fs/usr/lib/nimrod + cp -a $_pkg/nimrod/doc $fs/usr/share/nimrod +}