Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/native-uuid/
Date: Sat, 02 Jun 2018 17:25:47
Message-Id: 1527960335.ea089bd588671e6a5c1d05049c63012f46cf6f58.grobian@gentoo
1 commit: ea089bd588671e6a5c1d05049c63012f46cf6f58
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 2 17:19:01 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 2 17:25:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea089bd5
7
8 sys-libs/native-uuid: new pseudo package for *-macos in Prefix
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sys-libs/native-uuid/metadata.xml | 15 ++++++++++++
13 sys-libs/native-uuid/native-uuid-1.0.ebuild | 36 +++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/sys-libs/native-uuid/metadata.xml b/sys-libs/native-uuid/metadata.xml
17 new file mode 100644
18 index 00000000000..06454c38b1e
19 --- /dev/null
20 +++ b/sys-libs/native-uuid/metadata.xml
21 @@ -0,0 +1,15 @@
22 +<?xml version='1.0' encoding='UTF-8'?>
23 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 +<pkgmetadata>
25 + <maintainer type="person">
26 + <email>grobian@g.o</email>
27 + <name>Fabian Groffen</name>
28 + </maintainer>
29 + <maintainer type="project">
30 + <email>prefix@g.o</email>
31 + <name>Gentoo Prefix</name>
32 + </maintainer>
33 + <longdescription lang="en">
34 + pkgconfig file for host-provided uuid for Prefix systems
35 + </longdescription>
36 +</pkgmetadata>
37
38 diff --git a/sys-libs/native-uuid/native-uuid-1.0.ebuild b/sys-libs/native-uuid/native-uuid-1.0.ebuild
39 new file mode 100644
40 index 00000000000..2f7e48e9fc4
41 --- /dev/null
42 +++ b/sys-libs/native-uuid/native-uuid-1.0.ebuild
43 @@ -0,0 +1,36 @@
44 +# Copyright 1999-2018 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +EAPI=6
48 +
49 +DESCRIPTION=".pc file for uuid"
50 +HOMEPAGE="https://prefix.gentoo.org/"
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
55 +
56 +DEPEND="!!sys-libs/libuuid
57 + !!sys-apps/util-linux"
58 +RDEPEND="${DEPEND}"
59 +
60 +src_unpack() {
61 + mkdir -p "${S}" || die
62 +}
63 +
64 +src_install() {
65 + mkdir -p "${ED}"/usr/lib/pkgconfig || die
66 + cat > "${ED}"/usr/lib/pkgconfig/uuid.pc <<- EOPC
67 + prefix=${EPREFIX}/usr
68 + exec_prefix=\${prefix}
69 + libdir=${EPREFIX}/usr/lib
70 + includedir=\${prefix}/include
71 +
72 + Name: uuid
73 + Description: Universally unique id library
74 + Version: ${PV}
75 + Requires:
76 + Cflags:
77 + Libs:
78 + EOPC
79 +}