2005-10-08 01:02:58 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
unzip $src
|
|
|
|
|
2012-11-08 15:18:09 +01:00
|
|
|
jar=$(ls */*.jar)
|
|
|
|
|
2014-01-09 13:01:38 +01:00
|
|
|
mkdir -p $out/share/java
|
|
|
|
mv $jar $out/share/java
|
2005-10-08 01:02:58 +02:00
|
|
|
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2005-10-08 01:02:58 +02:00
|
|
|
cat > $out/bin/jdiskreport <<EOF
|
|
|
|
#! $SHELL -e
|
2014-01-09 13:01:38 +01:00
|
|
|
exec $jre/bin/java -jar $out/share/java/$(basename $jar)
|
2005-10-08 01:02:58 +02:00
|
|
|
EOF
|
|
|
|
chmod +x $out/bin/jdiskreport
|