d2abba40cd
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@346 6952d904-891a-0410-993b-d76249ca496b
41 lines
832 B
Bash
41 lines
832 B
Bash
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit apache-module ssl-cert
|
|
|
|
KEYWORDS="amd64 ~sparc ~x86"
|
|
|
|
DESCRIPTION="SSL/TLS module for the Apache HTTP server"
|
|
HOMEPAGE="http://directory.fedoraproject.org/wiki/Mod_nss"
|
|
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.gz"
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
DEPEND=">=dev-libs/nss-3.11.4
|
|
>=dev-libs/nspr-4.6.4"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
APACHE2_MOD_CONF="47_${PN}"
|
|
APACHE2_MOD_DEFINE="NSS"
|
|
|
|
DOCFILES="LICENSE NOTICE README"
|
|
|
|
need_apache2
|
|
|
|
src_compile() {
|
|
econf --with-apxs=${APXS2} || die "econf failed"
|
|
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
mv -f ".libs/libmodnss.so" ".libs/${PN}.so"
|
|
|
|
dosbin gencert nss_pcache
|
|
dohtml docs/mod_nss.html
|
|
|
|
apache-module_src_install
|
|
}
|