wok annotate nimrod/receipt @ rev 13392
Updated several packages
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Tue Sep 25 02:35:20 2012 +0200 (2012-09-25) |
parents | eb36f0d250b4 |
children | 8437ad3ae814 |
rev | line source |
---|---|
pascal@13236 | 1 # SliTaz package receipt. |
pascal@13236 | 2 |
pascal@13236 | 3 PACKAGE="nimrod" |
admin@13392 | 4 VERSION="0.9.0" |
pascal@13236 | 5 CATEGORY="development" |
admin@13392 | 6 SHORT_DESC="The Nimrod programming language." |
admin@13392 | 7 MAINTAINER="admin@trixarian.net" |
admin@13392 | 8 TARBALL="nimrod_$VERSION.zip" |
pascal@13236 | 9 WEB_SITE="http://www.nimrod-code.org/" |
admin@13392 | 10 WGET_URL="http://nimrod-code.org/download/$TARBALL" |
admin@13392 | 11 DEPENDS="gcc glibc-base readline" |
admin@13392 | 12 BUILD_DEPENDS="gcc glibc-dev readline-dev" |
pascal@13236 | 13 |
pascal@13236 | 14 # Rules to configure and make the package. |
pascal@13236 | 15 compile_rules() |
pascal@13236 | 16 { |
pascal@13236 | 17 cd $src |
pascal@13236 | 18 sed -i 's/uname -m/echo i486/' 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 |
pascal@13236 | 24 ./install.sh $DESTDIR |
pascal@13236 | 25 } |
pascal@13236 | 26 |
pascal@13236 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13236 | 28 genpkg_rules() |
pascal@13236 | 29 { |
pascal@13236 | 30 mkdir -p $fs/usr/share/nimrod $fs/usr/lib |
pascal@13236 | 31 cp -a $_pkg/nimrod/bin $fs/usr |
pascal@13236 | 32 cp -a $_pkg/nimrod/config $fs/etc |
pascal@13236 | 33 cp -a $_pkg/nimrod/lib $fs/usr/lib/nimrod |
pascal@13236 | 34 cp -a $_pkg/nimrod/doc $fs/usr/share/nimrod |
pascal@13236 | 35 } |