Browse files

Don't need this in core, moved to ms.omniti.com

  • Loading branch information...
1 parent 2ab20c6 commit 9fa68fbd732645ef47ed7196a237f1198d7c83d8 Eric Sproul committed Mar 29, 2013
Showing with 0 additions and 72 deletions.
  1. +0 −71 build/apache-ant/build.sh
  2. +0 −1 build/apache-ant/local.mog
View
71 build/apache-ant/build.sh
@@ -1,71 +0,0 @@
-#!/usr/bin/bash
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2011-2013 OmniTI Computer Consulting, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# Load support functions
-. ../../lib/functions.sh
-
-PROG=apache-ant
-VER=1.8.4
-VERHUMAN=$VER
-JUNITVER=4.11
-PKG=developer/build/ant
-SUMMARY="Apache Ant is a Java library and command-line tool that help building software."
-DESC="$SUMMARY"
-
-BUILD_DEPENDS_IPS="developer/java/jdk"
-DEPENDS_IPS="runtime/java runtime/perl runtime/python-26"
-
-BUILDARCH=32
-JAVA_HOME="/usr/jdk/instances/jdk1.6.0"
-export JAVA_HOME
-
-fetch_junit() {
- pushd $TMPDIR/$BUILDDIR/lib/optional > /dev/null
- logmsg "Fetching JUnit for build"
- logcmd $WGET http://$MIRROR/junit/junit-${JUNITVER}.jar || \
- logerr "-- Failed to download junit-${JUNITVER} jar file."
- popd > /dev/null
-}
-
-build_ant() {
- pushd $TMPDIR/$BUILDDIR > /dev/null
- logmsg "Building Ant"
- logcmd /bin/sh ./build.sh -Ddist.dir=${DESTDIR}${PREFIX} || \
- logerr "-- Build failed"
- popd > /dev/null
-}
-
-init
-download_source apache/ant/source $PROG ${VER}-src
-patch_source
-prep_build
-fetch_junit
-build_ant
-make_package
-clean_up
-
-# Vim hints
-# vim:ts=4:sw=4:et:
View
1 build/apache-ant/local.mog
@@ -1 +0,0 @@
-license LICENSE license=Apache2

0 comments on commit 9fa68fb

Please sign in to comment.