summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx-drum <x-drum@localhost>2008-09-03 18:16:00 +0000
committerx-drum <x-drum@localhost>2008-09-03 18:16:00 +0000
commit374793ec39988705a8e5138e35d65954e6fe7aac (patch)
tree1f6a0f793f8a95cacad7f2df28ea713964ab52d4 /dev-util/kbuild/kbuild-0.1.3.ebuild
parentfix mount.vboxvfs name and unresolved synbols in vboxvfs module, thanks to Wa... (diff)
downloadjokey-374793ec39988705a8e5138e35d65954e6fe7aac.tar.gz
jokey-374793ec39988705a8e5138e35d65954e6fe7aac.tar.bz2
jokey-374793ec39988705a8e5138e35d65954e6fe7aac.zip
Initial ebuild for kBuild
svn path=/trunk/; revision=469
Diffstat (limited to 'dev-util/kbuild/kbuild-0.1.3.ebuild')
-rw-r--r--dev-util/kbuild/kbuild-0.1.3.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/kbuild/kbuild-0.1.3.ebuild b/dev-util/kbuild/kbuild-0.1.3.ebuild
new file mode 100644
index 0000000..20eeffa
--- /dev/null
+++ b/dev-util/kbuild/kbuild-0.1.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=1
+
+inherit eutils
+
+MY_P=kBuild-${PV}-src
+DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks"
+HOMEPAGE="http://svn.netlabs.org/kbuild/wiki"
+SRC_URI="ftp://ftp.netlabs.org/pub/kbuild/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-util/yacc
+ dev-util/cvs
+ =sys-devel/automake-1.9.6-r2"
+
+S=${WORKDIR}/${MY_P/-src}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm -rf "${S}/kBuild/bin"
+}
+
+src_compile() {
+ kBuild/env.sh --full \
+ make -f bootstrap.gmk || die "bootstrap failed"
+}
+
+src_install() {
+ kBuild/env.sh kmk \
+ NIX_INSTALL_DIR=/usr \
+ PATH_INS="${D}" \
+ install || die "install failed"
+}
+