From: | "Ulrich Mueller (ulm)" <ulm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/clens: metadata.xml ChangeLog clens-0.7.0.ebuild |
Date: | Fri, 04 Oct 2013 18:01:12 |
Message-Id: | 20131004180105.E09F42004E@flycatcher.gentoo.org |
1 | ulm 13/10/04 18:01:05 |
2 | |
3 | Added: metadata.xml ChangeLog clens-0.7.0.ebuild |
4 | Log: |
5 | Initial import. This is a convenience library used by app-editors/mg. Ebuild contributed by me. |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/clens/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>emacs</herd> |
21 | <longdescription> |
22 | clens is a convenience library to aid in porting code from OpenBSD |
23 | to different operating systems. Operating systems traditionally have |
24 | different enough APIs that porting code is painful and can litter |
25 | pretty code with ugly #ifdef goo. In order to keep code readable and |
26 | drastically reduce the number of #ifdefs needed, clens brings other |
27 | APIs or missing functions into specific OS "focus". |
28 | </longdescription> |
29 | </pkgmetadata> |
30 | |
31 | |
32 | |
33 | 1.1 dev-libs/clens/ChangeLog |
34 | |
35 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/ChangeLog?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/ChangeLog?rev=1.1&content-type=text/plain |
37 | |
38 | Index: ChangeLog |
39 | =================================================================== |
40 | # ChangeLog for dev-libs/clens |
41 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
42 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/clens/ChangeLog,v 1.1 2013/10/04 18:01:05 ulm Exp $ |
43 | |
44 | *clens-0.7.0 (04 Oct 2013) |
45 | |
46 | 04 Oct 2013; Ulrich Müller <ulm@g.o> +clens-0.7.0.ebuild, |
47 | +files/clens-0.7.0-no-arc4random.patch, +metadata.xml: |
48 | Initial import. This is a convenience library used by app-editors/mg. |
49 | Ebuild contributed by me. |
50 | |
51 | |
52 | |
53 | |
54 | 1.1 dev-libs/clens/clens-0.7.0.ebuild |
55 | |
56 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/clens-0.7.0.ebuild?rev=1.1&view=markup |
57 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/clens-0.7.0.ebuild?rev=1.1&content-type=text/plain |
58 | |
59 | Index: clens-0.7.0.ebuild |
60 | =================================================================== |
61 | # Copyright 1999-2013 Gentoo Foundation |
62 | # Distributed under the terms of the GNU General Public License v2 |
63 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/clens/clens-0.7.0.ebuild,v 1.1 2013/10/04 18:01:05 ulm Exp $ |
64 | |
65 | EAPI=5 |
66 | |
67 | inherit eutils multilib toolchain-funcs |
68 | |
69 | DESCRIPTION="Convenience library to aid in porting OpenBSD code to other OSes" |
70 | HOMEPAGE="https://opensource.conformal.com/wiki/clens" |
71 | SRC_URI="https://opensource.conformal.com/snapshots/${PN}/${P}.tar.gz" |
72 | |
73 | LICENSE="ISC BSD BSD-4" |
74 | SLOT="0" |
75 | KEYWORDS="~amd64" |
76 | |
77 | src_prepare() { |
78 | epatch "${FILESDIR}"/${P}-no-arc4random.patch |
79 | tc-export CC AR |
80 | } |
81 | |
82 | src_install() { |
83 | emake DESTDIR="${D}" \ |
84 | LOCALBASE="/usr" \ |
85 | LIBDIR="/usr/$(get_libdir)" \ |
86 | install |
87 | } |