the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: asm
Version: 3.0-rel
Revision: 1
Source: http://download.forge.objectweb.org/%n/%n-3.0.tar.gz
Source-MD5: d07475c75f0c583b3ed5d6e015cc5255
# Requires Java 1.5 or higher
Depends: system-java (>= 1.5)
BuildDepends: system-java-dev (>= 1.5), ant-base, owanttask
# Change build.properties so that ow_util_ant_tasks.jar can be found
PatchScript: <<
perl -pi -e "s|# objectweb.ant.tasks.path ow_util_ant_tasks.jar|objectweb.ant.tasks.path %p/share/java/owanttask/ow_util_ant_tasks.jar|" build.properties
<<
Type: java(1.5)
CompileScript: <<
#!/bin/sh -ex
ant dist
<<
InstallScript: <<
#!/bin/sh -ex
# JavaDoc files
mkdir -p %i/share/doc/%n/javadoc
cp -R output/dist/doc/javadoc/user/* %i/share/doc/%n/javadoc
# Examples
mkdir -p %i/share/doc/%n/examples
cp -R output/dist/examples/* %i/share/doc/%n/examples
<<
JarFiles: output/dist/lib/all/%n-all-3.0.jar
DocFiles: LICENSE.txt README.txt
Homepage: http://asm.objectweb.org/
Maintainer: Trevor Harmon
Description: Java bytecode manipulation framework
DescDetail: <<
ASM is a Java bytecode manipulation framework. It can be used to dynamically
generate stub classes or other proxy classes, directly in binary form, or to
dynamically modify classes at load time, i.e., just before they are loaded into
the Java Virtual Machine.
ASM offers similar functionalities as BCEL or SERP, but is much smaller (33KB
instead of 350KB for BCEL and 150KB for SERP) and faster than these tools (the
overhead of a load time class transformation is of the order of 60% with ASM,
700% or more with BCEL, and 1100% or more with SERP). Indeed ASM was designed
to be used in a dynamic way* and was therefore designed and implemented to be
as small and as fast as possible.
(*) ASM can of course be used in a static way too.
<<
# The license appears to be BSD-style. (Or is it Restrictive/Distributable?)
License: BSD