diff options
Diffstat (limited to 'dev-lisp/gentoo-init')
-rw-r--r-- | dev-lisp/gentoo-init/files/gentoo-init-1.lisp | 11 | ||||
-rw-r--r-- | dev-lisp/gentoo-init/files/gentoo-init.lisp | 7 | ||||
-rw-r--r-- | dev-lisp/gentoo-init/files/source-registry.conf | 5 | ||||
-rw-r--r-- | dev-lisp/gentoo-init/gentoo-init-0.1.ebuild | 24 | ||||
-rw-r--r-- | dev-lisp/gentoo-init/gentoo-init-1.0.ebuild | 23 | ||||
-rw-r--r-- | dev-lisp/gentoo-init/metadata.xml | 5 |
6 files changed, 75 insertions, 0 deletions
diff --git a/dev-lisp/gentoo-init/files/gentoo-init-1.lisp b/dev-lisp/gentoo-init/files/gentoo-init-1.lisp new file mode 100644 index 000000000000..263aedd10c29 --- /dev/null +++ b/dev-lisp/gentoo-init/files/gentoo-init-1.lisp @@ -0,0 +1,11 @@ +(in-package #:cl-user) + +(let ((*compile-print* nil) + (*compile-verbose* nil) + #+cmu (ext:*gc-verbose* nil)) + (handler-bind ((warning #'muffle-warning)) + (load #p"/usr/share/common-lisp/source/asdf/asdf.lisp" + :print nil :verbose nil) + #+ecl + (load #p"/usr/share/common-lisp/source/asdf/asdf-ecl.lisp" + :print nil :verbose nil))) diff --git a/dev-lisp/gentoo-init/files/gentoo-init.lisp b/dev-lisp/gentoo-init/files/gentoo-init.lisp new file mode 100644 index 000000000000..e09dcb0ae43f --- /dev/null +++ b/dev-lisp/gentoo-init/files/gentoo-init.lisp @@ -0,0 +1,7 @@ +(in-package #:cl-user) +#+(or sbcl ecl) (require :asdf) +#-(or sbcl ecl) (load #p"/usr/share/common-lisp/source/asdf/asdf.lisp") +(push #p"/usr/share/common-lisp/systems/" asdf:*central-registry*) +(asdf:oos 'asdf:load-op :asdf-binary-locations) +(setf asdf:*centralize-lisp-binaries* t) +(setf asdf:*source-to-target-mappings* '((#p"/usr/lib/sbcl/" nil) (#p"/usr/lib64/sbcl/" nil))) diff --git a/dev-lisp/gentoo-init/files/source-registry.conf b/dev-lisp/gentoo-init/files/source-registry.conf new file mode 100644 index 000000000000..45e1fdfc5aa0 --- /dev/null +++ b/dev-lisp/gentoo-init/files/source-registry.conf @@ -0,0 +1,5 @@ +;; -*- Mode: Lisp; -*- + +(:source-registry + (:directory "/usr/share/common-lisp/systems") + :inherit-configuration) diff --git a/dev-lisp/gentoo-init/gentoo-init-0.1.ebuild b/dev-lisp/gentoo-init/gentoo-init-0.1.ebuild new file mode 100644 index 000000000000..3513f2199d66 --- /dev/null +++ b/dev-lisp/gentoo-init/gentoo-init-0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +DESCRIPTION="Simple ASDF-BINARY-LOCATIONS configuration for Gentoo Common Lisp ports" +HOMEPAGE="http://www.gentoo.org/proj/en/lisp/common-lisp/guide.xml" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +IUSE="" + +S=${WORKDIR} + +DEPEND="dev-lisp/asdf-binary-locations" +RDEPEND="${DEPEND}" + +src_install() { + insinto /etc + doins "${FILESDIR}"/gentoo-init.lisp +} diff --git a/dev-lisp/gentoo-init/gentoo-init-1.0.ebuild b/dev-lisp/gentoo-init/gentoo-init-1.0.ebuild new file mode 100644 index 000000000000..af00628c15da --- /dev/null +++ b/dev-lisp/gentoo-init/gentoo-init-1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="Simple ASDF2 configuration for Gentoo Common Lisp ports" +HOMEPAGE="http://www.gentoo.org/proj/en/lisp/common-lisp/guide.xml" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" + +RDEPEND=">=dev-lisp/asdf-2.0" + +S="${WORKDIR}" + +src_install() { + insinto /etc/common-lisp + newins "${FILESDIR}"/gentoo-init-1.lisp gentoo-init.lisp + doins "${FILESDIR}"/source-registry.conf +} diff --git a/dev-lisp/gentoo-init/metadata.xml b/dev-lisp/gentoo-init/metadata.xml new file mode 100644 index 000000000000..f418045b09c8 --- /dev/null +++ b/dev-lisp/gentoo-init/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> |