1 |
commit: 5da88f171cdf1514420b32889389d3a0261321d0 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 11:06:48 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 11:07:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da88f17 |
7 |
|
8 |
dev-libs/libbsd: Bump to version 0.8.3 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libbsd/Manifest | 1 + |
14 |
dev-libs/libbsd/libbsd-0.8.3.ebuild | 41 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest |
18 |
index f3c612d..0c3df39 100644 |
19 |
--- a/dev-libs/libbsd/Manifest |
20 |
+++ b/dev-libs/libbsd/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libbsd-0.8.2.tar.xz 344292 SHA256 b2f644cae94a6e2fe109449c20ad79a0f6ee4faec2205b07eefa0020565e250a SHA512 2230d51a30a0c3a8518c7e325036d2b578c8c2b47525c2d0d5f530d28d82227ad48b50341e44521db21f99208fe7c0df7313254c90e3c92da1c8664a8cbb87c5 WHIRLPOOL 4f9b09aaa7c0775cd46bf0aaaba9e9a7f07040262739002bf3966aace3bb4d782f96b176e2c489e7d7cbc0840eecc463a414dee1b5c92414c9a821796d739290 |
23 |
+DIST libbsd-0.8.3.tar.xz 356772 SHA256 934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 SHA512 155b895d6bd62b180718d65a2cda7484946c492d52735a57b51005705dfe4528b6a72e8745acea47b01fe68e3bbbe3c036c5e9998a8d06fc79efe2b96a04767f WHIRLPOOL ab74a85813ea3308e7e4c53b7a46f4b93e4dff4d091964a6347f9960729e8eb4c8a2a0866938de508caf47caf9371f14499fcb0cc4aa30da06f501f4ccad9ef2 |
24 |
|
25 |
diff --git a/dev-libs/libbsd/libbsd-0.8.3.ebuild b/dev-libs/libbsd/libbsd-0.8.3.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..59b5735 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libbsd/libbsd-0.8.3.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit eutils multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="An library to provide useful functions commonly found on BSD systems" |
39 |
+HOMEPAGE="https://libbsd.freedesktop.org/wiki/" |
40 |
+SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="BSD BSD-2 BSD-4 ISC" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+DEPEND=">=sys-kernel/linux-headers-3.17" |
48 |
+RDEPEND="" |
49 |
+ |
50 |
+pkg_setup() { |
51 |
+ local f="${ROOT}/usr/$(get_libdir)/${PN}.a" |
52 |
+ local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." |
53 |
+ if ! has_version ${CATEGORY}/${PN}; then |
54 |
+ if [[ -e ${f} ]]; then |
55 |
+ eerror "${m}" |
56 |
+ die "${m}" |
57 |
+ fi |
58 |
+ fi |
59 |
+} |
60 |
+ |
61 |
+multilib_src_configure() { |
62 |
+ # The build system will install libbsd-ctor.a despite of USE="-static-libs" |
63 |
+ # which is correct, see: |
64 |
+ # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 |
65 |
+ ECONF_SOURCE="${S}" econf $(use_enable static-libs static) |
66 |
+} |
67 |
+ |
68 |
+multilib_src_install() { |
69 |
+ emake DESTDIR="${D}" install |
70 |
+ prune_libtool_files |
71 |
+} |