diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild')
-rw-r--r-- | dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
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..39a0e85c9e07 --- /dev/null +++ b/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=5 + +inherit eutils flag-o-matic toolchain-funcs + +MY_P="${P/_p/.update}" +DESCRIPTION="R6RS-compliant Scheme implementation for real-time applications" +HOMEPAGE="https://code.google.com/p/ypsilon/" +SRC_URI="https://ypsilon.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples threads" + +DEPEND="app-arch/cpio" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch +} + +src_compile() { + use threads && append-flags "-pthread" + + emake PREFIX="/usr" CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" LDFLAGS="$LDFLAGS" +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins example/* + fi +} |