PortSystem 1.0

name            trove4j
version         2.1.0
revision        1
categories      java
license         LGPL-2.1+
platforms       any
supported_archs noarch
maintainers     nomaintainer
description     high performance collections for Java objects and primitive types
long_description    {*}${description}

homepage        http://trove4j.sourceforge.net/
master_sites    sourceforge
distname        trove-${version}
checksums       md5     09375a0b74eb8560270331239d2f94c3 \
                sha1    9306850b8105e7342d7dbdcc14cd86be55ca9bd8 \
                rmd160  fb0e96585c552821a0912a40855d486db31a6d56

depends_build   bin:ant:apache-ant
use_configure   no
build.cmd       ant
build.target    dist

destroot    {
    set docdir ${destroot}${prefix}/share/doc/${worksrcdir}
    xinstall -m 755 -d ${destroot}${prefix}/share/java \
        ${docdir}
    xinstall -m 644 ${worksrcpath}/output/dist/${worksrcdir}/lib/trove-${version}.jar \
        ${destroot}${prefix}/share/java/trove.jar
    xinstall -m 644 -W ${worksrcpath}/output/dist/${worksrcdir}/ \
        AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt \
        ${docdir}
    file copy ${worksrcpath}/output/dist/${worksrcdir}/javadocs \
        ${docdir}
}
