2005-10-08 00:02:58 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
unzip $src
|
|
|
|
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/jars
|
2005-10-08 00:02:58 +01:00
|
|
|
mv */*.jar $out/jars
|
|
|
|
jar=$(ls $out/jars/jdiskreport-*.jar)
|
|
|
|
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2005-10-08 00:02:58 +01:00
|
|
|
cat > $out/bin/jdiskreport <<EOF
|
|
|
|
#! $SHELL -e
|
|
|
|
exec $jdk/bin/java -jar $jar
|
|
|
|
EOF
|
|
|
|
chmod +x $out/bin/jdiskreport
|