nixpkgs/pkgs/servers/http/tomcat/builder.sh
Eelco Visser dd3c98d3ec tomcat uses j2sdk after all (at build time)
svn path=/nixpkgs/trunk/; revision=1302
2004-08-20 14:22:27 +00:00

21 lines
226 B
Bash

. $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