public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/emacs:master commit in: dev-libs/clens/
@ 2013-10-03 17:49 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2013-10-03 17:49 UTC (permalink / raw
  To: gentoo-commits

commit:     19507de17cbca2c6da533e629351c9721bf4cc8c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 17:44:50 2013 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 17:44:50 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=19507de1

Initial import. Ebuild contributed by me.

Package-Manager: portage-2.2.7

---
 dev-libs/clens/ChangeLog          | 10 ++++++++++
 dev-libs/clens/Manifest           |  1 +
 dev-libs/clens/clens-0.7.0.ebuild | 30 ++++++++++++++++++++++++++++++
 dev-libs/clens/metadata.xml       |  9 +++++++++
 4 files changed, 50 insertions(+)

diff --git a/dev-libs/clens/ChangeLog b/dev-libs/clens/ChangeLog
new file mode 100644
index 0000000..7f32866
--- /dev/null
+++ b/dev-libs/clens/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/clens
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*clens-0.7.0 (03 Oct 2013)
+
+  03 Oct 2013; Ulrich Müller <ulm@gentoo.org> +clens-0.7.0.ebuild,
+  +metadata.xml:
+  Initial import. Ebuild contributed by me.
+

diff --git a/dev-libs/clens/Manifest b/dev-libs/clens/Manifest
new file mode 100644
index 0000000..775787f
--- /dev/null
+++ b/dev-libs/clens/Manifest
@@ -0,0 +1 @@
+DIST clens-0.7.0.tar.gz 33046 SHA256 064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267 SHA512 c771669e10d03e9616ef6b19a997f80e3aa72f0e50f935e661b320084c9ec5efb5b8f42b90f814c44d615d8bd33f78815c837d2ea0746a37e617ec55e6dc7604 WHIRLPOOL f646a0de7a21a25fc83205f551a9c1502c2e2d9bde70fed6f89b3b65f57a1f857028eb7f8dd634a75d2167b6745b7886474f4b985fdb4ec169b8788e6dfd7074

diff --git a/dev-libs/clens/clens-0.7.0.ebuild b/dev-libs/clens/clens-0.7.0.ebuild
new file mode 100644
index 0000000..25cdadf
--- /dev/null
+++ b/dev-libs/clens/clens-0.7.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Convenience library to aid in porting code from OpenBSD"
+HOMEPAGE="https://opensource.conformal.com/wiki/clens"
+SRC_URI="https://opensource.conformal.com/snapshots/${PN}/${P}.tar.gz"
+
+LICENSE="ISC BSD BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="arc4random"
+
+DEPEND="arc4random? ( dev-libs/libbsd )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	if ! use arc4random; then
+		sed -i -e "s/arc4random[^.]*\.c//" GNUmakefile || die
+	fi
+	tc-export CC AR
+}
+
+src_install() {
+	emake LOCALBASE=/usr DESTDIR="${ED}" install
+}

diff --git a/dev-libs/clens/metadata.xml b/dev-libs/clens/metadata.xml
new file mode 100644
index 0000000..1e9a010
--- /dev/null
+++ b/dev-libs/clens/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<use>
+  <flag name='arc4random'>Support ARC4 random number generator functions
+    (needs <pkg>dev-libs/libbsd</pkg>)</flag>
+</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/emacs:master commit in: dev-libs/clens/
@ 2013-10-03 18:36 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2013-10-03 18:36 UTC (permalink / raw
  To: gentoo-commits

commit:     fe20bd09e09cf131c5ebdcf0e969306278cb9dc1
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 18:36:22 2013 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 18:36:22 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=fe20bd09

Fix install location.

Package-Manager: portage-2.2.7

---
 dev-libs/clens/ChangeLog          | 3 +++
 dev-libs/clens/clens-0.7.0.ebuild | 7 +++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-libs/clens/ChangeLog b/dev-libs/clens/ChangeLog
index 7f32866..9ec0425 100644
--- a/dev-libs/clens/ChangeLog
+++ b/dev-libs/clens/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  03 Oct 2013; Ulrich Müller <ulm@gentoo.org> clens-0.7.0.ebuild:
+  Fix install location.
+
 *clens-0.7.0 (03 Oct 2013)
 
   03 Oct 2013; Ulrich Müller <ulm@gentoo.org> +clens-0.7.0.ebuild,

diff --git a/dev-libs/clens/clens-0.7.0.ebuild b/dev-libs/clens/clens-0.7.0.ebuild
index 25cdadf..2056c97 100644
--- a/dev-libs/clens/clens-0.7.0.ebuild
+++ b/dev-libs/clens/clens-0.7.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit toolchain-funcs
+inherit multilib toolchain-funcs
 
 DESCRIPTION="Convenience library to aid in porting code from OpenBSD"
 HOMEPAGE="https://opensource.conformal.com/wiki/clens"
@@ -26,5 +26,8 @@ src_prepare() {
 }
 
 src_install() {
-	emake LOCALBASE=/usr DESTDIR="${ED}" install
+	emake DESTDIR="${ED}" \
+		INCDIR="/usr/include" \
+		LIBDIR="/usr/$(get_libdir)" \
+		install
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/emacs:master commit in: dev-libs/clens/
@ 2013-10-04 17:06 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2013-10-04 17:06 UTC (permalink / raw
  To: gentoo-commits

commit:     7ebdc6ec4dc144a2890691b06f1b1dd5bcc7e938
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  4 17:06:42 2013 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 17:06:42 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=7ebdc6ec

Fix DESTDIR.

Package-Manager: portage-2.2.7

---
 dev-libs/clens/clens-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/clens/clens-0.7.0.ebuild b/dev-libs/clens/clens-0.7.0.ebuild
index 3823cbe..d1168b5 100644
--- a/dev-libs/clens/clens-0.7.0.ebuild
+++ b/dev-libs/clens/clens-0.7.0.ebuild
@@ -20,7 +20,7 @@ src_prepare() {
 }
 
 src_install() {
-	emake DESTDIR="${ED}" \
+	emake DESTDIR="${D}" \
 		LOCALBASE="/usr" \
 		LIBDIR="/usr/$(get_libdir)" \
 		install


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-04 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 17:49 [gentoo-commits] proj/emacs:master commit in: dev-libs/clens/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2013-10-03 18:36 Ulrich Müller
2013-10-04 17:06 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox