diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-10-10 05:01:52 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-10-10 05:01:52 +0000 |
commit | 1e7ea4e3d3568669886095c1748cf76e35a2940d (patch) | |
tree | 004dedfa51c82bfa6c95ae47dda77a672fa46eb3 /dev-lisp/cl-elephant | |
parent | HOMEPAGE update (diff) | |
download | historical-1e7ea4e3d3568669886095c1748cf76e35a2940d.tar.gz historical-1e7ea4e3d3568669886095c1748cf76e35a2940d.tar.bz2 historical-1e7ea4e3d3568669886095c1748cf76e35a2940d.zip |
new port
Diffstat (limited to 'dev-lisp/cl-elephant')
-rw-r--r-- | dev-lisp/cl-elephant/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lisp/cl-elephant/Manifest | 5 | ||||
-rw-r--r-- | dev-lisp/cl-elephant/cl-elephant-0.2.1.ebuild | 46 | ||||
-rw-r--r-- | dev-lisp/cl-elephant/files/0.2.1-gentoo.patch | 63 | ||||
-rw-r--r-- | dev-lisp/cl-elephant/files/digest-cl-elephant-0.2.1 | 1 | ||||
-rw-r--r-- | dev-lisp/cl-elephant/metadata.xml | 5 |
6 files changed, 130 insertions, 0 deletions
diff --git a/dev-lisp/cl-elephant/ChangeLog b/dev-lisp/cl-elephant/ChangeLog new file mode 100644 index 000000000000..17ba4bdb45fc --- /dev/null +++ b/dev-lisp/cl-elephant/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lisp/cl-elephant +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-elephant/ChangeLog,v 1.1 2004/10/10 05:01:52 mkennedy Exp $ + +*cl-elephant-0.2.1 (09 Oct 2004) + + 09 Oct 2004; <mkennedy@gentoo.org> +metadata.xml, + +cl-elephant-0.2.1.ebuild: + Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org> + diff --git a/dev-lisp/cl-elephant/Manifest b/dev-lisp/cl-elephant/Manifest new file mode 100644 index 000000000000..2d87fd95de1d --- /dev/null +++ b/dev-lisp/cl-elephant/Manifest @@ -0,0 +1,5 @@ +MD5 d425d654b5c06605f465b5cdf0a880ee cl-elephant-0.2.1.ebuild 1168 +MD5 b3a2e6fccaa171bd94f9b425740451e5 ChangeLog 408 +MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 +MD5 f075f24f2067f7ac5bd38ab56415cfcc files/digest-cl-elephant-0.2.1 66 +MD5 5394ea903057e0f73497fc3b9607c71c files/0.2.1-gentoo.patch 2357 diff --git a/dev-lisp/cl-elephant/cl-elephant-0.2.1.ebuild b/dev-lisp/cl-elephant/cl-elephant-0.2.1.ebuild new file mode 100644 index 000000000000..950bd00094c9 --- /dev/null +++ b/dev-lisp/cl-elephant/cl-elephant-0.2.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-elephant/cl-elephant-0.2.1.ebuild,v 1.1 2004/10/10 05:01:52 mkennedy Exp $ + +inherit common-lisp eutils + +DESCRIPTION="Elephant is an object database for Common Lisp" +HOMEPAGE="http://common-lisp.net/project/elephant/" +SRC_URI="http://common-lisp.net/project/elephant/elephant-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" +DEPEND="dev-lisp/common-lisp-controller + virtual/commonlisp + =sys-libs/db-4* + dev-lisp/cl-uffi + doc? ( sys-apps/texinfo )" + +CLPACKAGE=elephant + +S=${WORKDIR}/elephant-${PV} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-gentoo.patch || die +} + +src_compile() { + make CFLAGS="${CFLAGS}" || die + if use doc; then + cd doc; makeinfo elephant.texinfo || die + fi +} + +src_install() { + insinto ${CLSOURCEROOT}/elephant/src + doins src/*.lisp + exeinto /usr/lib/elephant + doexe libsleepycat.so + common-lisp-install elephant.asd + common-lisp-system-symlink + dodoc CREDITS ChangeLog LICENSE NEWS NOTES README TODO TUTORIAL + dohtml doc/html/* + use doc && doinfo doc/elephant.info +} diff --git a/dev-lisp/cl-elephant/files/0.2.1-gentoo.patch b/dev-lisp/cl-elephant/files/0.2.1-gentoo.patch new file mode 100644 index 000000000000..1bf0b3b5e9e2 --- /dev/null +++ b/dev-lisp/cl-elephant/files/0.2.1-gentoo.patch @@ -0,0 +1,63 @@ +diff -ur elephant-0.2.1.orig/Makefile elephant-0.2.1/Makefile +--- elephant-0.2.1.orig/Makefile 2004-10-09 16:09:30.562205848 -0500 ++++ elephant-0.2.1/Makefile 2004-10-09 16:24:34.367806512 -0500 +@@ -22,5 +22,5 @@ + endif + + libsleepycat.so: src/libsleepycat.c +- gcc $(SHARED) -L$(DBLIBDIR) -I$(DBINCDIR) -fPIC -O3 -o $@ $< -ldb -lm ++ gcc $(SHARED) -L$(DBLIBDIR) -I$(DBINCDIR) -fPIC $(CFLAGS) -o $@ $< -ldb -lm + +Only in elephant-0.2.1: Makefile.~1.5.~ +diff -ur elephant-0.2.1.orig/src/sleepycat.lisp elephant-0.2.1/src/sleepycat.lisp +--- elephant-0.2.1.orig/src/sleepycat.lisp 2004-10-09 16:09:30.653192016 -0500 ++++ elephant-0.2.1/src/sleepycat.lisp 2004-10-09 17:52:55.593897648 -0500 +@@ -114,43 +114,11 @@ + (proclaim '(optimize (ext:inhibit-warnings 3)))) + + (eval-when (:compile-toplevel :load-toplevel) +- ;; UFFI +- ;;(asdf:operate 'asdf:load-op :uffi) + +- ;; DSO loading - Edit these for your system! +- +- ;; Under linux you may need to load some kind of pthread +- ;; library. I can't figure out which is the right one. +- ;; This one worked for me. There are known issues with +- ;; Red Hat and Berkeley DB, search google. +- #+linux +- (unless +- (uffi:load-foreign-library "/lib/tls/libpthread.so.0" :module "pthread") +- (error "Couldn't load libpthread!")) +- +- (unless +- (uffi:load-foreign-library +- ;; Sleepycat: this works on linux +- #+linux +- "/usr/local/BerkeleyDB.4.2/lib/libdb.so" +- ;; this works on FreeBSD +- #+(and (or bsd freebsd) (not darwin)) +- "/usr/local/lib/db42/libdb.so" +- #+darwin +- "/usr/local/BerkeleyDB.4.2/lib/libdb.dylib" +- :module "sleepycat") +- (error "Couldn't load libdb (Sleepycat)!")) +- +- ;; Libsleepycat.so: edit this +- (unless +- (uffi:load-foreign-library +- (if (find-package 'asdf) +- (merge-pathnames +- #p"libsleepycat.so" +- (asdf:component-pathname (asdf:find-system 'elephant))) +- "/usr/local/share/common-lisp/elephant-0.2/libsleepycat.so") +- :module "libsleepycat") +- (error "Couldn't load libsleepycat!")) ++ (unless (uffi:load-foreign-library ++ "/usr/lib/elephant/libsleepycat.so" ++ :module "libsleepycat") ++ (error "Cannot load libsleepycat.so; Please file a bug at http://bugs.gentoo.org")) + + ;; fini on user editable part + +Only in elephant-0.2.1/src: sleepycat.lisp.~1.12.~ diff --git a/dev-lisp/cl-elephant/files/digest-cl-elephant-0.2.1 b/dev-lisp/cl-elephant/files/digest-cl-elephant-0.2.1 new file mode 100644 index 000000000000..d7ca709b1298 --- /dev/null +++ b/dev-lisp/cl-elephant/files/digest-cl-elephant-0.2.1 @@ -0,0 +1 @@ +MD5 334d34a2e85389eed23b876012faa9f7 elephant-0.2.1.tar.gz 122855 diff --git a/dev-lisp/cl-elephant/metadata.xml b/dev-lisp/cl-elephant/metadata.xml new file mode 100644 index 000000000000..f418045b09c8 --- /dev/null +++ b/dev-lisp/cl-elephant/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>common-lisp</herd> +</pkgmetadata> |