Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libite/
Date: Thu, 07 Dec 2017 10:29:58
Message-Id: 1512642579.5799c21d2de1f44ef8de29a200692b852cbe67e8.kensington@gentoo
1 commit: 5799c21d2de1f44ef8de29a200692b852cbe67e8
2 Author: Oz N Tiram <oz.tiram <AT> mobilityhouse <DOT> com>
3 AuthorDate: Sun Dec 3 12:49:22 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 7 10:29:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5799c21d
7
8 dev-libs/libite: a collection of useful BSD API
9
10 Libite is a lightweight library of frog DNA. It can be used to fill the
11 gaps in any dinosaur project. It holds useful functions and macros
12 developed by both Finit and the OpenBSD project. Most notably the
13 string functions: strlcpy(3), strlcat(3) and the highly useful *BSD
14 sys/queue.h and sys/tree.h API's.
15
16 Closes: https://bugs.gentoo.org/639626
17 Closes: https://github.com/gentoo/gentoo/pull/6421
18 Package-Manager: Portage-2.3.13, Repoman-2.3.1
19
20 dev-libs/libite/Manifest | 1 +
21 dev-libs/libite/libite-2.0.0.ebuild | 23 +++++++++++++++++++++++
22 dev-libs/libite/metadata.xml | 21 +++++++++++++++++++++
23 3 files changed, 45 insertions(+)
24
25 diff --git a/dev-libs/libite/Manifest b/dev-libs/libite/Manifest
26 new file mode 100644
27 index 00000000000..cec74c2497b
28 --- /dev/null
29 +++ b/dev-libs/libite/Manifest
30 @@ -0,0 +1 @@
31 +DIST libite-2.0.0.tar.xz 259960 BLAKE2B 4c5393daaf2ca6eb830fc5f11b1d38e9c1e2374c5f5d87bb973c7e54b9f81480d4a270a4551689806620cd5a84671d1055d409d6dd090acb64bf7fc454d1c283 SHA512 18516f19d36d81169116562b4b27d76240715424cdde9b87eae831f35adb17d70fb01e2eae5e7e9ce99e2c88344c2c15d2b7d11f4ea2e9ae0deb25ee5ee4c563
32
33 diff --git a/dev-libs/libite/libite-2.0.0.ebuild b/dev-libs/libite/libite-2.0.0.ebuild
34 new file mode 100644
35 index 00000000000..4dff1da74a4
36 --- /dev/null
37 +++ b/dev-libs/libite/libite-2.0.0.ebuild
38 @@ -0,0 +1,23 @@
39 +# Copyright 1999-2017 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +
44 +DESCRIPTION="A collection of useful BSD APIs"
45 +HOMEPAGE="https://github.com/troglobit/libite"
46 +SRC_URI="https://github.com/troglobit/libite/releases/download/v${PV}/${P}.tar.xz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="static-libs"
52 +
53 +src_configure(){
54 + econf --enable-static=$(usex static-libs)
55 +}
56 +
57 +src_install(){
58 + default
59 + find "${D}" -name '*.la' -delete || die
60 + rm "${D}/usr/share/doc/${PF}/LICENSE" || die
61 +}
62
63 diff --git a/dev-libs/libite/metadata.xml b/dev-libs/libite/metadata.xml
64 new file mode 100644
65 index 00000000000..ec1edc5f993
66 --- /dev/null
67 +++ b/dev-libs/libite/metadata.xml
68 @@ -0,0 +1,21 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 + <maintainer type="person">
73 + <name>Oz Tiram</name>
74 + <email>oz.tiram@×××××.com</email>
75 + </maintainer>
76 + <maintainer type="project">
77 + <email>proxy-maint@g.o</email>
78 + </maintainer>
79 + <longdescription lang="en">
80 + Libite is a lightweight library of frog DNA. It can be used to fill the
81 + gaps in any dinosaur project. It holds useful functions and macros
82 + developed by both Finit and the OpenBSD project. Most notably the
83 + string functions: strlcpy(3), strlcat(3) and the highly useful *BSD
84 + sys/queue.h and sys/tree.h API's.
85 + </longdescription>
86 + <upstream>
87 + <remote-id type="github">troglobit/libite</remote-id>
88 + </upstream>
89 +</pkgmetadata>