wok-stable annotate nimrod/receipt @ rev 12431
gnutls: CVE-2014-0092 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 10 15:55:29 2014 +0000 (2014-03-10) |
parents | 2c4bc63f4e6d |
children |
rev | line source |
---|---|
admin@12332 | 1 # SliTaz package receipt. |
admin@12332 | 2 |
admin@12332 | 3 PACKAGE="nimrod" |
admin@12332 | 4 VERSION="0.9.0" |
admin@12332 | 5 CATEGORY="development" |
admin@12332 | 6 SHORT_DESC="The Nimrod programming language." |
admin@12332 | 7 MAINTAINER="admin@trixarian.net" |
admin@12337 | 8 TARBALL="nimrod_$VERSION.zip" |
admin@12332 | 9 WEB_SITE="http://www.nimrod-code.org/" |
admin@12332 | 10 WGET_URL="http://nimrod-code.org/download/$TARBALL" |
admin@12332 | 11 DEPENDS="gcc glibc-base readline" |
admin@12332 | 12 BUILD_DEPENDS="gcc glibc-dev readline-dev" |
admin@12332 | 13 |
admin@12332 | 14 # Rules to configure and make the package. |
admin@12332 | 15 compile_rules() |
admin@12332 | 16 { |
admin@12332 | 17 cd $src |
pascal@12339 | 18 sed -i 's/uname -m/echo i486/' build.sh |
admin@12332 | 19 chmod +x build.sh |
admin@12332 | 20 chmod +x install.sh |
admin@12332 | 21 ./build.sh |
admin@12338 | 22 ./bin/nimrod c -d:release koch |
admin@12332 | 23 ./koch boot -d:release |
pascal@12339 | 24 ./install.sh $DESTDIR |
admin@12332 | 25 } |
admin@12332 | 26 |
admin@12332 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
admin@12332 | 28 genpkg_rules() |
admin@12332 | 29 { |
pascal@12339 | 30 mkdir -p $fs/usr/share/nimrod $fs/usr/lib |
pascal@12339 | 31 cp -a $_pkg/nimrod/bin $fs/usr |
pascal@12339 | 32 cp -a $_pkg/nimrod/config $fs/etc |
pascal@12339 | 33 cp -a $_pkg/nimrod/lib $fs/usr/lib/nimrod |
pascal@12339 | 34 cp -a $_pkg/nimrod/doc $fs/usr/share/nimrod |
admin@12334 | 35 } |