Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ant plan #919

Merged
merged 4 commits into from
Jun 21, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions plans/ant/plan.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pkg_origin=core
pkg_name=ant
pkg_version=1.9.7
pkg_maintainer='The Habitat Maintainers <[email protected]>'
pkg_license=('Apache 2')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change the license string to read Apache-2.0, per the SPDX License List?

pkg_source=https://github.com/apache/ant/archive/rel/$pkg_version.tar.gz
pkg_shasum=53dbfb13e0e9bf1b34bcbfdf807c1b9df1b89362b176e1e58150906f518b2c88
pkg_deps=()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will need a runtime dep of core/jdk8

pkg_build_deps=(core/jdk8)
pkg_bin_dirs=(bin)
pkg_include_dirs=(include)
pkg_lib_dirs=(lib)

do_build() {
export JAVA_HOME=$(hab pkg path core/jdk8)
pushd $HAB_CACHE_SRC_PATH/$pkg_name-rel-$pkg_version
sh ./build.sh -Ddist.dir=$pkg_prefix dist
}

do_install() {
return 0
}