wok-6.x annotate nimrod/receipt @ rev 16294

Up: xfce-utils (4.8.3)
author Alexander Medvedev <devl547@gmail.com>
date Mon Apr 07 07:39:54 2014 +0000 (2014-04-07)
parents 8437ad3ae814
children ad47999f35d7
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"
pascal@15584 8 LICENSE="GPL"
admin@13392 9 TARBALL="nimrod_$VERSION.zip"
pascal@13236 10 WEB_SITE="http://www.nimrod-code.org/"
admin@13392 11 WGET_URL="http://nimrod-code.org/download/$TARBALL"
pascal@15584 12
admin@13392 13 DEPENDS="gcc glibc-base readline"
admin@13392 14 BUILD_DEPENDS="gcc glibc-dev readline-dev"
pascal@13236 15
pascal@13236 16 # Rules to configure and make the package.
pascal@13236 17 compile_rules()
pascal@13236 18 {
pascal@13236 19 cd $src
pascal@13878 20 sed -i "s/uname -m/echo $ARCH/" build.sh
admin@13392 21 chmod +x build.sh
admin@13392 22 chmod +x install.sh
pascal@13236 23 ./build.sh
admin@13392 24 ./bin/nimrod c -d:release koch
pascal@13236 25 ./koch boot -d:release
pascal@13236 26 ./install.sh $DESTDIR
pascal@13236 27 }
pascal@13236 28
pascal@13236 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13236 30 genpkg_rules()
pascal@13236 31 {
pascal@13236 32 mkdir -p $fs/usr/share/nimrod $fs/usr/lib
pascal@13878 33 cp -a $install/nimrod/bin $fs/usr
pascal@13878 34 cp -a $install/nimrod/config $fs/etc
pascal@13878 35 cp -a $install/nimrod/lib $fs/usr/lib/nimrod
pascal@13878 36 cp -a $install/nimrod/doc $fs/usr/share/nimrod
pascal@13236 37 }