diff options
Diffstat (limited to 'dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild')
-rw-r--r-- | dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild b/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild new file mode 100644 index 000000000000..ebd26ec0ff12 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/research/linux/atomic_ops/download/${P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack(){ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-ppc64-load_acquire.patch +} + +src_install() { + emake pkgdatadir="/usr/share/doc/${PF}" DESTDIR="${D}" install || die +} |