summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2009-08-16 07:12:45 +0000
committerAkinori Hattori <hattya@gentoo.org>2009-08-16 07:12:45 +0000
commit938b52a35a9add19ae771eb20a5568793823f448 (patch)
tree048f76cb14fc5f8131515faf497d888b1d2aa9dc /dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild
parentnew upstream release. (diff)
downloadhistorical-938b52a35a9add19ae771eb20a5568793823f448.tar.gz
historical-938b52a35a9add19ae771eb20a5568793823f448.tar.bz2
historical-938b52a35a9add19ae771eb20a5568793823f448.zip
new upstream release.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild')
-rw-r--r--dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild b/dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild
new file mode 100644
index 000000000000..5c882b9d4d5b
--- /dev/null
+++ b/dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild,v 1.1 2009/08/16 07:12:45 hattya Exp $
+
+IUSE="examples"
+
+DESCRIPTION="Foreign function interface for C and Objective-C libraries"
+HOMEPAGE="http://homepage.mac.com/naoki.koguro/prog/c-wrapper/"
+SRC_URI="http://homepage.mac.com/naoki.koguro/prog/${PN}/${P}.tgz"
+
+LICENSE="MIT"
+KEYWORDS="~x86"
+SLOT="0"
+
+DEPEND=">=dev-scheme/gauche-0.8.14"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+
+ econf || die
+ emake -j1 || die
+
+}
+
+src_test() {
+
+ emake -j1 -s check || die
+
+}
+
+src_install() {
+
+ emake DESTDIR="${D}" install || die
+
+ dodoc README ChangeLog
+ dohtml doc/*
+
+ if use examples; then
+ local d
+
+ for d in examples/*; do
+ docinto ${d}
+ dodoc ${d}/*
+ done
+ fi
+
+}