summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/cl-cffi/cl-cffi-051027.1544.ebuild')
-rw-r--r--dev-lisp/cl-cffi/cl-cffi-051027.1544.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-lisp/cl-cffi/cl-cffi-051027.1544.ebuild b/dev-lisp/cl-cffi/cl-cffi-051027.1544.ebuild
new file mode 100644
index 000000000000..2a4a30a6059b
--- /dev/null
+++ b/dev-lisp/cl-cffi/cl-cffi-051027.1544.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-cffi/cl-cffi-051027.1544.ebuild,v 1.1 2005/10/28 16:04:21 mkennedy Exp $
+
+inherit common-lisp
+
+DESCRIPTION="The Common Foreign Function Interface (CFFI)"
+HOMEPAGE="http://common-lisp.net/project/cffi/"
+SRC_URI="http://common-lisp.net/project/cffi/tarballs/cffi-luis-${PV:0:6}-${PV:7:4}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+S=${WORKDIR}/cffi-luis-${PV/./-}
+
+DEPEND="doc? ( dev-lisp/sbcl virtual/tetex sys-apps/texinfo )"
+
+CLPACKAGE=cffi
+
+src_compile() {
+ use doc && make -C doc docs
+}
+
+src_install() {
+ dodir $CLSYSTEMROOT
+ insinto $CLSOURCEROOT/$CLPACKAGE
+ for i in cffi cffi-uffi-compat; do
+ dosym $CLSOURCEROOT/$CLPACKAGE/$i.asd \
+ $CLSYSTEMROOT/
+ done
+ doins -r tests src uffi-compat examples *.asd
+ dodoc README COPYRIGHT HEADER
+ dodoc doc/*.txt
+ if use doc; then
+ doinfo doc/*.info
+ insinto /usr/share/doc/${PF}/html
+ doins -r doc/{spec,manual}
+ fi
+}