You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
711 B
37 lines
711 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
CMAKE_ECLASS="cmake"
|
|
|
|
inherit cmake-multilib
|
|
|
|
DESCRIPTION="PEM file reader for Network Security Services (NSS)"
|
|
HOMEPAGE="https://github.com/kdudka/nss-pem"
|
|
SRC_URI="https://github.com/kdudka/${PN}/releases/download/${P}/${P}.tar.xz"
|
|
|
|
LICENSE="MPL-1.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
IUSE=""
|
|
|
|
BDEPEND=" >=dev-libs/nss-3.50-r1 "
|
|
RDEPEND="${BDEPEND}"
|
|
|
|
DEPEND="!<=dev-libs/nss-3.50
|
|
${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/nss-pem-1.0.5-nss-3.53.1-support.patch"
|
|
)
|
|
|
|
S="${WORKDIR}/${P}/src"
|
|
|
|
multilib_src_configure() {
|
|
local mycmakeargs=(
|
|
-DLIB_INSTALL_DIR="$(get_libdir)"
|
|
)
|
|
cmake_src_configure
|
|
}
|