summaryrefslogtreecommitdiff
blob: 2f7e48e9fc4a4e2eced599010246b9f7151fbf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION=".pc file for uuid"
HOMEPAGE="https://prefix.gentoo.org/"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"

DEPEND="!!sys-libs/libuuid
	!!sys-apps/util-linux"
RDEPEND="${DEPEND}"

src_unpack() {
	mkdir -p "${S}" || die
}

src_install() {
	mkdir -p "${ED}"/usr/lib/pkgconfig || die
	cat > "${ED}"/usr/lib/pkgconfig/uuid.pc <<- EOPC
		prefix=${EPREFIX}/usr
		exec_prefix=\${prefix}
		libdir=${EPREFIX}/usr/lib
		includedir=\${prefix}/include

		Name: uuid
		Description: Universally unique id library
		Version: ${PV}
		Requires:
		Cflags:
		Libs:
	EOPC
}