milis/talimatname/genel/r/rhino/talimat

21 lines
665 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: JavaScript in java gerçeklemesi
2017-06-09 01:42:06 +02:00
# URL: https://github.com/mozilla/rhino
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: apache-ant openjdk
2017-06-09 01:42:06 +02:00
2017-10-28 14:10:23 +02:00
isim=rhino
surum=1.7.7.1
devir=1
kaynak=(https://github.com/mozilla/$isim/archive/Rhino${version//./_}_RELEASE.tar.gz
2017-06-09 01:42:06 +02:00
http://archive.apache.org/dist/xmlbeans/binaries/xmlbeans-2.6.0.tgz)
2017-10-27 23:59:41 +02:00
derle() {
2017-06-09 01:42:06 +02:00
export JAVA_HOME=/opt/OpenJDK-8u60-bin
export PATH=$JAVA_HOME/bin:/opt/ant/bin:$PATH
2017-10-28 14:10:23 +02:00
cd $isim-Rhino${version//./_}_RELEASE
2017-06-09 01:42:06 +02:00
ant -Dxbean.jar=$SRC/xmlbeans-2.6.0/lib/xbean.jar \
-Djsr173.jar=$SRC/xmlbeans-2.6.0/lib/jsr173_1.0_api.jar \
jar javadoc
2017-10-28 14:10:23 +02:00
install -D -m 644 build/$isim$surum/js.jar $PKG/usr/share/java/$isim.jar
2017-06-09 01:42:06 +02:00
}