SUMMARY="A makefile framework for writing simple makefiles for complex tasks" DESCRIPTION="The goals of the kBuild framework: Similar behavior cross all supported platforms. Flexibility, don't create unnecessary restrictions preventing ad-hoc solutions. Makefile can very simple to write and maintain. There are four concepts being tried out in the current kBuild incaration: One configuration file for a subtree automatically included. Target configuration templates as the primary mechanism for makefile \n simplification. Tools and SDKs for helping out the templates with flexibility. Non-recursive makefile method by using sub-makefiles." HOMEPAGE="https://trac.netlabs.org/kbuild/" SOURCE_URI="ftp://ftp.netlabs.org/pub/kbuild/kBuild-0.1.5-p2-src.tar.gz" SOURCE_DIR="kBuild-0.1.5-p2" COPYRIGHT="kBuild developers" LICENSE="GNU LGPL v3" REVISION="1" CHECKSUM_SHA256="8205db5e74d27ef6394bd48118a310e4f5caab455575f0ea975f62dcb8d642a6" ARCHITECTURES="!x86_gcc2 !x86 !x86_64" SECONDARY_ARCHITECTURES="!x86_gcc2 !x86" PATCHES="kbuild-0.1.5-p2.patch" PROVIDES=" kmk = $portVersion " REQUIRES="" BUILD_REQUIRES="haiku >= $haikuVersion " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:aclocal cmd:autopoint cmd:autoreconf cmd:find cmd:flex cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make cmd:makeinfo cmd:tar cmd:yacc " BUILD() { sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' src/sed/configure.ac # TODO: fix install paths kBuild/env.sh --full make -f bootstrap.gmk NIX_INSTALL_DIR=$prefix } INSTALL() { kBuild/env.sh --full-with-bin kmk NIX_INSTALL_DIR=$prefix PATH_INS="${D}" install }