diff options
Diffstat (limited to 'sys-libs/native-uuid/native-uuid-1.0.ebuild')
-rw-r--r-- | sys-libs/native-uuid/native-uuid-1.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-libs/native-uuid/native-uuid-1.0.ebuild b/sys-libs/native-uuid/native-uuid-1.0.ebuild new file mode 100644 index 000000000000..2f7e48e9fc4a --- /dev/null +++ b/sys-libs/native-uuid/native-uuid-1.0.ebuild @@ -0,0 +1,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 +} |