1 |
commit: 69a84a90ab9845e2f5aff9a82d794a1161ac1328 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 19 10:53:50 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 19 11:01:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69a84a90 |
7 |
|
8 |
dev-libs/libbsd: Bump to version 0.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libbsd/Manifest | 1 + |
14 |
dev-libs/libbsd/libbsd-0.10.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest |
18 |
index 0979330cdd4..51746ae4612 100644 |
19 |
--- a/dev-libs/libbsd/Manifest |
20 |
+++ b/dev-libs/libbsd/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
+DIST libbsd-0.10.0.tar.xz 393576 BLAKE2B 66005a511dae7fb799322c813b8ea058ab460e3b9044756d6efad5de741d8f70270496f09803bbce8cd0000ff37e998f18e092037c850826c3c8e3f47ddfdb28 SHA512 b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9 |
23 |
DIST libbsd-0.8.6.tar.xz 371112 BLAKE2B adab6c17267e0cff128351efccf5c1225b7dd85dc61dd8168bf212ba5aff8d726fa5be687c041821af9a427ddad9dfcd3630cac9134b9e81c86ab2599e43aef9 SHA512 ece01ced324f840c2cee6321c7dcf97ff123d55ea9f203c1ce35e1b46643dc7b34ef6dc6c8d128252b36848624850b40823411cc96b99a66a401eb1e9d8cea6b |
24 |
DIST libbsd-0.8.7.tar.xz 371772 BLAKE2B aa4aa1c19872edf9e7e6ed270275199366345531a48ee28c25e209f17c5403a22269b91ab1c806cb1b54ba33a8464f4b035fe7ee2bc5dddd0a4fda09c540b058 SHA512 605a14eb5d33c0e45c3bd29e585ebc15832e2ed1efa9356291a0562622168da96db1a20766e9dae8910ea0c1516429f43905edc8d4f2a40a5a341a689d08fcc3 |
25 |
DIST libbsd-0.9.1.tar.xz 387180 BLAKE2B 40dd82ca1088ee7aae8b3d7685e8514eec702bf7ada7ef98f7177cad92b7e0fccc22a953b35f0f27202eb56833b31a81bef1324d43864d1b80887ba7c58684d5 SHA512 435822b8f2495a5e2705e5ab5c834a4f0f3a177b3e5c46a7c6162924507ca984e957e94a512b5ebd0067ecb413bac458fade357709ef199e9b75edf0315de91c |
26 |
|
27 |
diff --git a/dev-libs/libbsd/libbsd-0.10.0.ebuild b/dev-libs/libbsd/libbsd-0.10.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..383f350fac2 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libbsd/libbsd-0.10.0.ebuild |
32 |
@@ -0,0 +1,40 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit multilib-minimal |
38 |
+ |
39 |
+DESCRIPTION="An library to provide useful functions commonly found on BSD systems" |
40 |
+HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd" |
41 |
+SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="BSD BSD-2 BSD-4 ISC" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="static-libs" |
47 |
+ |
48 |
+DEPEND=">=sys-kernel/linux-headers-3.17" |
49 |
+RDEPEND="" |
50 |
+ |
51 |
+pkg_setup() { |
52 |
+ local f="${EROOT}/usr/$(get_libdir)/${PN}.a" |
53 |
+ local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." |
54 |
+ if ! has_version ${CATEGORY}/${PN}; then |
55 |
+ if [[ -e ${f} ]]; then |
56 |
+ eerror "${m}" |
57 |
+ die "${m}" |
58 |
+ fi |
59 |
+ fi |
60 |
+} |
61 |
+ |
62 |
+multilib_src_configure() { |
63 |
+ # The build system will install libbsd-ctor.a despite of USE="-static-libs" |
64 |
+ # which is correct, see: |
65 |
+ # https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8 |
66 |
+ ECONF_SOURCE="${S}" econf $(use_enable static-libs static) |
67 |
+} |
68 |
+ |
69 |
+multilib_src_install() { |
70 |
+ emake DESTDIR="${D}" install |
71 |
+ find "${ED}" -type f -name "*.la" -delete || die |
72 |
+} |