Package: jasmin Version: 2.4 Revision: 2 Description: Assembler for the Java Virtual Machine License: BSD # Unpack Phase: Source: https://downloads.sourceforge.net/project/%n/jasmin/%n-%v/%n-%v.zip Source-Checksum: SHA256(eaa10c68cec68206fd102e9ec7113739eccd790108a1b95a6e8c3e93f20e449d) Source2: ftp://ftp.freepascal.org/pub/fpc/contrib/jvm/jasmin24a.patch #Source2: ftp://ftp.freepascal.org/pub/fpc/contrib/jvm/jasmin24b.patch Source2-Checksum: SHA256(6cf885c3b8bac16da81438ea6e02f2a592d66762c69575b4373f2a4eae6b83de) BuildDepends: dos2unix Patchscript: << #!/bin/sh -ev cat >%b/jasmin <<EOFJASMIN # Note that $* needs to be "escaped". java -jar %p/share/java/jasmin/jasmin.jar \$* EOFJASMIN mv ../jasmin24a.patch . dos2unix jasmin24a.patch dos2unix build.sh dos2unix src/jas/*.java dos2unix src/jasmin/*.java dos2unix src/jasmin/*.cup patch -p0 < jasmin24a.patch << CompileScript: << #!/bin/sh -ev chmod 755 build.sh export JAVA_HOME=/usr ./build.sh all << InstallScript: << mkdir -p %i/bin install -m 755 jasmin %i/bin install -m 755 jasmin.jar %i/bin << JarFiles: jasmin.jar DocFiles: *.txt docs examples DescDetail: << Jasmin is an assembler for the Java Virtual Machine. It takes ASCII descriptions of Java classes, written in a simple assembler-like syntax using the Java Virtual Machine instruction set. It converts them into binary Java class files, suitable for loading by a Java runtime system. << DescUsage: << usage: jasmin [-d <outpath>] [-g] [-e <encoding>] <file> [<file> ...] where -g - autogenerate linenumbers -e - codepage for inputfile encoding -d - path for generated classfiles file - sourcefile (wildcards are allowed) or: jasmin -version or: jasmin -help << DescPort: << The aim of this port is jasmin to serve as a basis for the jvm target of a FreePascal crosscompiler. As such it incorporates the patches from the FreePascal wiki: http://wiki.freepascal.org/FPC_JVM/Building#Building_Jasmin << Homepage: http://jasmin.sourceforge.net Maintainer: Karl-Michael Schindler <karl-michael.schindler@web.de>