forked from mirrors/nixpkgs
tomcat uses j2sdk after all (at build time)
svn path=/nixpkgs/trunk/; revision=1302
This commit is contained in:
parent
778dab85be
commit
dd3c98d3ec
|
@ -1,5 +1,20 @@
|
|||
. $stdenv/setup || exit 1
|
||||
|
||||
tar zxf $src
|
||||
cd jakarta-tomcat*/bin
|
||||
|
||||
# install jsvc
|
||||
|
||||
tar xvfz jsvc.tar.gz
|
||||
cd jsvc-src
|
||||
sh ./configure --with-java=$sdk
|
||||
make
|
||||
cp jsvc ..
|
||||
cd ..
|
||||
|
||||
# done jsvc
|
||||
|
||||
cd ../..
|
||||
|
||||
mkdir $out
|
||||
mv jakarta-tomcat* $out
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, j2sdk}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation {
|
|||
md5 = "b802ee042677e284bcf65738c7bdc3b6";
|
||||
};
|
||||
|
||||
sdk = j2sdk;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -390,7 +390,7 @@ rec {
|
|||
# };
|
||||
|
||||
tomcat5 = (import ../servers/http/tomcat) {
|
||||
inherit fetchurl stdenv;
|
||||
inherit fetchurl stdenv j2sdk;
|
||||
};
|
||||
|
||||
pcre = (import ../development/libraries/pcre) {
|
||||
|
|
Loading…
Reference in a new issue