diff options
Diffstat (limited to 'dev-libs/libffi/libffi-3.0.5.ebuild')
-rw-r--r-- | dev-libs/libffi/libffi-3.0.5.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/libffi/libffi-3.0.5.ebuild b/dev-libs/libffi/libffi-3.0.5.ebuild new file mode 100644 index 000000000000..85a3e3a7a3c3 --- /dev/null +++ b/dev-libs/libffi/libffi-3.0.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.5.ebuild,v 1.1 2008/06/13 20:29:14 drac Exp $ + +inherit eutils + +DESCRIPTION="a portable, high level programming interface to various calling conventions." +HOMEPAGE="http://sourceware.org/libffi" +SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +pkg_setup() { + if built_with_use --missing true sys-devel/gcc libffi; then + eerror "Only one libffi installed is supported." + die "Re-emerge sys-devel/gcc without USE libffi." + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc ChangeLog* README TODO +} |