diff options
author | Vadim Kuznetsov <vadimk@gentoo.org> | 2009-04-20 23:54:37 +0000 |
---|---|---|
committer | Vadim Kuznetsov <vadimk@gentoo.org> | 2009-04-20 23:54:37 +0000 |
commit | c0a80468b5ee2786bb3df5dc7f1bf9a5e459df16 (patch) | |
tree | fa0be52eed0044a8acf294e4a807d82cbcce9b72 /dev-scheme | |
parent | Fix typo (diff) | |
download | gentoo-2-c0a80468b5ee2786bb3df5dc7f1bf9a5e459df16.tar.gz gentoo-2-c0a80468b5ee2786bb3df5dc7f1bf9a5e459df16.tar.bz2 gentoo-2-c0a80468b5ee2786bb3df5dc7f1bf9a5e459df16.zip |
Initial commit. Bug 229371. Initial ebuild provided by Dmitry Dzhus.
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/ypsilon/ChangeLog | 10 | ||||
-rw-r--r-- | dev-scheme/ypsilon/metadata.xml | 9 | ||||
-rw-r--r-- | dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild | 35 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-scheme/ypsilon/ChangeLog b/dev-scheme/ypsilon/ChangeLog new file mode 100644 index 000000000000..c79003c1153e --- /dev/null +++ b/dev-scheme/ypsilon/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-scheme/ypsilon +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ChangeLog,v 1.1 2009/04/20 23:54:37 vadimk Exp $ + +*ypsilon-0.9.6_p3 (20 Apr 2009) + + 20 Apr 2009; Vadim Kuznetsov vadimk@gentoo.org +metadata.xml, + +ypsilon-0.9.6_p3.ebuild: + Initial commit. Bug 229371. Initial ebuild provided by Dmitry Dzhus. + diff --git a/dev-scheme/ypsilon/metadata.xml b/dev-scheme/ypsilon/metadata.xml new file mode 100644 index 000000000000..78175cf1ec38 --- /dev/null +++ b/dev-scheme/ypsilon/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>scheme</herd> + <longdescription lang="en"> + Ypsilon is the implementation of Scheme Programming Language, which conforms + to the latest standard R6RS. + </longdescription> +</pkgmetadata> diff --git a/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild b/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild new file mode 100644 index 000000000000..d28faa544fc2 --- /dev/null +++ b/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild,v 1.1 2009/04/20 23:54:37 vadimk Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +MY_P="${P/_p/.update}" +DESCRIPTION="R6RS-compliant Scheme implementation for real-time applications" +HOMEPAGE="http://code.google.com/p/ypsilon/" +SRC_URI="http://ypsilon.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples threads" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + use threads && append-flags "-pthread" + + emake PREFIX="/usr" CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" || die "emake failed" +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install || die "Install failed" + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins example/* || die "Failed to install examples" + fi +} |