04ecc8ca19
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@154 6952d904-891a-0410-993b-d76249ca496b
45 lines
914 B
Bash
45 lines
914 B
Bash
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit apache-module ssl-cert versionator
|
|
|
|
MY_PV=$(replace_version_separator 2 '-')
|
|
|
|
KEYWORDS="amd64 ~sparc ~x86"
|
|
|
|
DESCRIPTION="SSL/TLS module for the Apache HTTP server"
|
|
HOMEPAGE="http://directory.fedoraproject.org/wiki/Mod_nss"
|
|
SRC_URI="ftp://mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2"
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
DEPEND=">=dev-libs/nss-3.11.4
|
|
>=dev-libs/nspr-4.6.4"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
|
|
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
|
|
}
|