mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-10 23:30:03 +02:00
net-libs/mbedtls:0 is remain for mbedtls-2 as safe fallback for all dependent packages. Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39536 Signed-off-by: Sam James <sam@gentoo.org>
41 lines
867 B
Bash
41 lines
867 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="A language agnostic web server focused on web applications"
|
|
HOMEPAGE="http://mongrel2.org"
|
|
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="
|
|
dev-db/sqlite:3
|
|
>=net-libs/mbedtls-2.1:0=[havege(-)]
|
|
net-libs/zeromq"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-polarssl-platform-590512.patch
|
|
"${FILESDIR}"/${P}-fno-common.patch
|
|
"${FILESDIR}"/${PN}-1.11.0-respect-FLAGS.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
cp "${FILESDIR}"/systemtls.mak Makefile || die
|
|
default
|
|
}
|
|
|
|
src_configure() {
|
|
tc-export AR CC RANLIB
|
|
default
|
|
}
|
|
|
|
src_install() {
|
|
emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install
|
|
dodoc README examples/configs/mongrel2.conf
|
|
}
|