wok-current diff nimrod/receipt @ rev 13311

freerdp-dev: update genpkg-rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 29 12:46:44 2012 +0200 (2012-08-29)
parents
children 03360f041b37
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nimrod/receipt	Wed Aug 29 12:46:44 2012 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nimrod"
     1.7 +VERSION="0.8.14"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The nimrod programming langage."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.nimrod-code.org/"
    1.12 +TARBALL="${PACKAGE}_$VERSION.zip"
    1.13 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gcc"
    1.16 +BUILD_DEPENDS=""
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	sed -i 's/uname -m/echo i486/' build.sh
    1.23 +	chmod +x build.sh install.sh
    1.24 +	./build.sh
    1.25 +	bin/nimrod c koch
    1.26 +	./koch boot -d:release
    1.27 +	./install.sh $DESTDIR
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/share/nimrod $fs/usr/lib
    1.34 +	cp -a $_pkg/nimrod/bin $fs/usr
    1.35 +	cp -a $_pkg/nimrod/config $fs/etc
    1.36 +	cp -a $_pkg/nimrod/lib $fs/usr/lib/nimrod
    1.37 +	cp -a $_pkg/nimrod/doc $fs/usr/share/nimrod
    1.38 +}