wok-4.x rev 12332
Added the nimrod package
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Mon Sep 24 01:05:45 2012 +0200 (2012-09-24) |
parents | fcdffb430fa5 |
children | fcab8816d059 |
files | nimrod/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nimrod/receipt Mon Sep 24 01:05:45 2012 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="nimrod" 1.7 +VERSION="0.9.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Nimrod programming language." 1.10 +MAINTAINER="admin@trixarian.net" 1.11 +TARBALL="$PACKAGE_$VERSION.zip" 1.12 +WEB_SITE="http://www.nimrod-code.org/" 1.13 +WGET_URL="http://nimrod-code.org/download/$TARBALL" 1.14 +DEPENDS="gcc glibc-base readline" 1.15 +BUILD_DEPENDS="gcc glibc-dev readline-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + chmod +x build.sh 1.22 + chmod +x install.sh 1.23 + ./build.sh 1.24 + ./bin/nimrod c -d:release -d:useGnuReadline koch 1.25 + ./koch boot -d:release 1.26 + ./install.sh /usr/bin 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 + cp -a $_pkg/etc $fs/etc 1.34 + cp -a $_pkg/usr/lib $fs/usr 1.35 + cp -a $_pkg/usr/share $fs/usr 1.36 +} 1.37 \ No newline at end of file