diff options
author | Jason Zaman <perfinion@gentoo.org> | 2018-08-04 11:14:58 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2018-08-04 11:14:58 +0800 |
commit | 46a0f1dc980003b2202f1da6d76968b390a91cf9 (patch) | |
tree | 9ff432ab0432d5cea49f2471c21367f2a67704bb /dev-libs/nsync | |
parent | sys-apps/ucspi-tcp: sh/m68k stable wrt bug #639416 (diff) | |
download | gentoo-46a0f1dc980003b2202f1da6d76968b390a91cf9.tar.gz gentoo-46a0f1dc980003b2202f1da6d76968b390a91cf9.tar.bz2 gentoo-46a0f1dc980003b2202f1da6d76968b390a91cf9.zip |
dev-libs/nsync: new ebuild by me v1.20.1
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-libs/nsync')
-rw-r--r-- | dev-libs/nsync/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/nsync/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/nsync/nsync-1.20.1.ebuild | 26 |
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/nsync/Manifest b/dev-libs/nsync/Manifest new file mode 100644 index 000000000000..40c1fd70c042 --- /dev/null +++ b/dev-libs/nsync/Manifest @@ -0,0 +1 @@ +DIST nsync-1.20.1.tar.gz 154106 BLAKE2B 94eeb647de2ca58a3f3837119ef30805f0a72a9d12c19aa705f815955723ddefa1de4d2a3fe5fd0b227ffdd70d5208ab9a300e40b2aff2591a1cef28c79b450a SHA512 d7b9be1052b7d11d896d3fade822f7b1eebbd0a772c9f6e2cd827921f1adc29ed18f7587ebc7d29623d230be384a7a2356c1da3abd53567fc934979d89c70e0c diff --git a/dev-libs/nsync/metadata.xml b/dev-libs/nsync/metadata.xml new file mode 100644 index 000000000000..2ab0dafc343e --- /dev/null +++ b/dev-libs/nsync/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>perfinion@gentoo.org</email> + <name>Jason Zaman</name> + </maintainer> + <longdescription lang="en"> + nsync is a C library that exports various synchronization primitives, such as mutexes + </longdescription> +</pkgmetadata> diff --git a/dev-libs/nsync/nsync-1.20.1.ebuild b/dev-libs/nsync/nsync-1.20.1.ebuild new file mode 100644 index 000000000000..14e0c84223c0 --- /dev/null +++ b/dev-libs/nsync/nsync-1.20.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +DESCRIPTION="A C library that exports various synchronization primitives, such as mutexes" +HOMEPAGE="https://github.com/google/nsync" +SRC_URI="https://github.com/google/nsync/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DOCS=( README ) + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DNSYNC_ENABLE_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} |