diff options
Diffstat (limited to 'dev-scheme/c-wrapper/c-wrapper-0.5.6.ebuild')
-rw-r--r-- | dev-scheme/c-wrapper/c-wrapper-0.5.6.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-scheme/c-wrapper/c-wrapper-0.5.6.ebuild b/dev-scheme/c-wrapper/c-wrapper-0.5.6.ebuild new file mode 100644 index 000000000000..5fbbfe66a53c --- /dev/null +++ b/dev-scheme/c-wrapper/c-wrapper-0.5.6.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.5.6.ebuild,v 1.1 2009/03/09 12:12:41 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 + +} |