summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-11-18 14:30:17 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-11-18 14:30:17 +0000
commit06bd8757b9076328527d7b1ff56da7e88345d33b (patch)
tree9bca87bd8bb0fef5caa324ff9d01d7fdf6952393
parentAdd XMPPKit with forked AddressKit from Etoile (diff)
downloadgnustep-06bd8757b9076328527d7b1ff56da7e88345d33b.tar.gz
gnustep-06bd8757b9076328527d7b1ff56da7e88345d33b.tar.bz2
gnustep-06bd8757b9076328527d7b1ff56da7e88345d33b.zip
OK, LanguageKit and SmalltalkKit more or less done...
The first one needs llvm The second one needs parts of sqlite source svn path=/overlay/; revision=383
-rw-r--r--gnustep-libs/languagekit/Manifest2
-rw-r--r--gnustep-libs/languagekit/languagekit-0.4.0.ebuild26
-rw-r--r--gnustep-libs/smalltalkkit/Manifest3
-rw-r--r--gnustep-libs/smalltalkkit/smalltalkkit-0.4.0.ebuild43
4 files changed, 74 insertions, 0 deletions
diff --git a/gnustep-libs/languagekit/Manifest b/gnustep-libs/languagekit/Manifest
new file mode 100644
index 0000000..d09e58b
--- /dev/null
+++ b/gnustep-libs/languagekit/Manifest
@@ -0,0 +1,2 @@
+DIST etoile-0.4.0.tar.gz 8892225 RMD160 cf5396cdd2e4e8477f4ac1c493f814b862999a75 SHA1 3848ededa6f5f7981e208cea0c1833416b425e4c SHA256 785774e4697e7f1387d0c92c04886e6705d44272aeeb08ebd648871be5f5b59f
+EBUILD languagekit-0.4.0.ebuild 669 RMD160 8813ecebdad07eafcb148511ba81e799ce5b28cd SHA1 470ddbbf9275f7fcc6235da3591ca18d8ddec2ff SHA256 8f853213265ad41308a29a3eac4b4489dc87fbb16037575f8fcccfb65cdf3c5d
diff --git a/gnustep-libs/languagekit/languagekit-0.4.0.ebuild b/gnustep-libs/languagekit/languagekit-0.4.0.ebuild
new file mode 100644
index 0000000..f6cb16b
--- /dev/null
+++ b/gnustep-libs/languagekit/languagekit-0.4.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit gnustep-2
+
+S="${WORKDIR}/Etoile-${PV}/Languages/LanguageKit"
+
+DESCRIPTION="a compiler kit built on top of LLVM for creating dynamic language implementations using an Objective-C runtime for the object model"
+HOMEPAGE="http://www.etoile-project.org"
+SRC_URI="http://download.gna.org/etoile/etoile-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=sys-devel/llvm-2.4"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}/Etoile-${PV}"
+
+ sed -i -e "s/-Werror//" etoile.make || die "sed failed"
+}
diff --git a/gnustep-libs/smalltalkkit/Manifest b/gnustep-libs/smalltalkkit/Manifest
new file mode 100644
index 0000000..c72b01c
--- /dev/null
+++ b/gnustep-libs/smalltalkkit/Manifest
@@ -0,0 +1,3 @@
+DIST etoile-0.4.0.tar.gz 8892225 RMD160 cf5396cdd2e4e8477f4ac1c493f814b862999a75 SHA1 3848ededa6f5f7981e208cea0c1833416b425e4c SHA256 785774e4697e7f1387d0c92c04886e6705d44272aeeb08ebd648871be5f5b59f
+DIST sqlite-3.6.2.tar.gz 2313114 RMD160 db83f50ef72083905983b8fac6fcb3070a002d54 SHA1 5408632b484d8e471e4a323e9c98dcdc08504bda SHA256 cb07a9801a128e2f42cf49b7e9d577b092ab54aa05242655af93491a73a91a1f
+EBUILD smalltalkkit-0.4.0.ebuild 1174 RMD160 22372a95041ed4ceb89a332a41ab77b3003172fa SHA1 36825683113ecfcb6b7cc9f1ded38656a367d5f0 SHA256 2520d6c193228670daccb311022adf7c76d6ccbaab83e387b4467356655d2469
diff --git a/gnustep-libs/smalltalkkit/smalltalkkit-0.4.0.ebuild b/gnustep-libs/smalltalkkit/smalltalkkit-0.4.0.ebuild
new file mode 100644
index 0000000..3583d74
--- /dev/null
+++ b/gnustep-libs/smalltalkkit/smalltalkkit-0.4.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit gnustep-2 toolchain-funcs
+
+S="${WORKDIR}/Etoile-${PV}/Languages/SmalltalkKit"
+SQLITE="sqlite-3.6.2"
+DESCRIPTION="Étoilé's Pragmatic Smalltalk, a Smalltalk JIT compiler which generates code binary-compatible with Objective-C"
+HOMEPAGE="http://www.etoile-project.org"
+SRC_URI="http://download.gna.org/etoile/etoile-${PV}.tar.gz
+ http://www.sqlite.org/${SQLITE}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="gnustep-libs/etoile-foundation
+ gnustep-libs/languagekit"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}/Etoile-${PV}"
+
+ sed -i -e "s/-Werror//" etoile.make || die "sed failed"
+
+ # Copy updated lempar.c
+ cd "${S}"
+ cp "${WORKDIR}/${SQLITE}/tool/lempar.c" .
+ # Use our own lemon in GNUmakefile
+ sed -i -e "s#@lemon#@./lemon#" GNUmakefile || die "makefile sed failed"
+}
+
+src_compile() {
+ # Compile lemon
+ $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \
+ "${WORKDIR}/${SQLITE}/tool/lemon.c" -o lemon \
+ || die "lemon compilation failed"
+ # Go on with compilation
+ gnustep-base_src_compile
+}