diff options
Diffstat (limited to 'dev-lisp/cl-uffi/cl-uffi-1.4.6.ebuild')
-rw-r--r-- | dev-lisp/cl-uffi/cl-uffi-1.4.6.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-lisp/cl-uffi/cl-uffi-1.4.6.ebuild b/dev-lisp/cl-uffi/cl-uffi-1.4.6.ebuild new file mode 100644 index 000000000000..3cc3c8b3567a --- /dev/null +++ b/dev-lisp/cl-uffi/cl-uffi-1.4.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-uffi/cl-uffi-1.4.6.ebuild,v 1.1 2003/12/02 01:30:06 mkennedy Exp $ + +inherit common-lisp + +DESCRIPTION="UFFI is a package to [portably] interface Common Lisp programs with C-language compatible libraries." +HOMEPAGE="http://uffi.med-info.com/" +SRC_URI="http://files.b9.com/uffi/uffi-${PV}.tar.gz" +LICENSE="LLGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +S=${WORKDIR}/uffi-${PV} + +CLPACKAGE=uffi + +src_compile() { + make -C tests +} + +src_install() { + dodir /usr/share/common-lisp/systems + insinto /usr/share/common-lisp/source/uffi/src + doins src/*.lisp + insinto /usr/share/common-lisp/source/uffi + doins uffi.asd + dosym /usr/share/common-lisp/source/uffi/uffi.asd \ + /usr/share/common-lisp/systems/uffi.asd + + insinto /usr/lib/uffi + doins tests/*.so + + dodoc AUTHORS ChangeLog INSTALL LICENSE NEWS README TODO doc/uffi.pdf doc/COPYING.GFDL + tar xfz doc/html.tar.gz + dohtml html/* + + for i in examples benchmarks ; do + insinto /usr/share/doc/${P}/$i + doins $i/* + done +} + +pkg_preinst() { + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true +} + +pkg_postrm() { + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true +} |