2017-01-24 17:00:44 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2016-11-28 09:15:02 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
2017-01-24 17:00:44 +03:00
|
|
|
inherit libtool
|
|
|
|
|
2016-11-28 09:15:02 +03:00
|
|
|
DESCRIPTION="New GNU Portable Threads Library"
|
|
|
|
HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
|
|
|
|
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2017-02-10 22:14:43 +03:00
|
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
2016-11-28 09:15:02 +03:00
|
|
|
IUSE="static-libs"
|
|
|
|
|
2017-01-24 17:00:44 +03:00
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
elibtoolize # for Solaris shared library
|
|
|
|
}
|
|
|
|
|
2016-11-28 09:15:02 +03:00
|
|
|
src_configure() {
|
|
|
|
econf $(use_enable static-libs static)
|
|
|
|
}
|