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.
48 lines
1.1 KiB
48 lines
1.1 KiB
10 years ago
|
# Copyright 1999-2014 Gentoo Foundation
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
10 years ago
|
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-native/tomcat-native-1.1.30.ebuild,v 1.1 2014/04/18 14:53:20 fordfrog Exp $
|
||
11 years ago
|
|
||
|
EAPI="5"
|
||
|
|
||
|
inherit base eutils java-pkg-2
|
||
|
|
||
|
DESCRIPTION="Native APR library for Tomcat"
|
||
|
|
||
|
SLOT="0"
|
||
|
SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz"
|
||
|
HOMEPAGE="http://tomcat.apache.org/"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
LICENSE="Apache-2.0"
|
||
|
IUSE=""
|
||
|
|
||
|
RDEPEND="=dev-libs/apr-1*
|
||
|
dev-libs/openssl
|
||
|
>=virtual/jre-1.5"
|
||
|
|
||
|
DEPEND=">=virtual/jdk-1.5
|
||
|
${RDEPEND}"
|
||
|
|
||
|
S=${WORKDIR}/${P}-src/jni/native
|
||
|
|
||
|
src_configure(){
|
||
|
econf --with-apr=/usr/bin/apr-1-config \
|
||
|
--with-ssl=/usr || die "Could not configure native sources"
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
base_src_compile
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake DESTDIR="${D}" install || die "Could not install libtcnative-1.so"
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
elog
|
||
|
elog " APR should be available with Tomcat, for more information"
|
||
|
elog " please see http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
|
||
|
elog
|
||
|
elog " Please report any bugs to http://bugs.gentoo.org/"
|
||
|
elog
|
||
|
}
|