development/apache-ant: Added to 12.0 repository
This commit is contained in:
parent
861f19c444
commit
8307fc209b
|
@ -0,0 +1,6 @@
|
|||
Apache Ant is a Java-based build tool - like make, but without make's
|
||||
wrinkles. :-)
|
||||
|
||||
Ant is extended using Java classes. The configuration files are XML- based,
|
||||
calling out a target tree where tasks get executed. Each task is run by an
|
||||
object that implements a Task interface.
|
|
@ -0,0 +1,39 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for Apache Ant
|
||||
# Written by Dugan Chen (dugan_c@fastmail.fm)
|
||||
|
||||
set -e
|
||||
|
||||
PRGNAM=apache-ant
|
||||
VERSION=1.7.0
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION-bin.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
cp -a bin lib etc $PKG/opt/$PRGNAM
|
||||
|
||||
mkdir -p $PKG/etc/profile.d/
|
||||
cp $CWD/profile.d/* $PKG/etc/profile.d/
|
||||
chmod 0755 $PKG/etc/profile.d/*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a INSTALL KEYS LICENSE.dom LICENSE.sax LICENSE.xerces NOTICE README \
|
||||
WHATSNEW docs/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="apache-ant"
|
||||
VERSION="1.7.0"
|
||||
HOMEPAGE="http://ant.apache.org/"
|
||||
DOWNLOAD="http://apache.mirror.rafal.ca/ant/binaries/apache-ant-1.7.0-bin.tar.bz2"
|
||||
MD5SUM="6df38ed01474d6e7c1570d2d8cb5c110"
|
||||
MAINTAINER="Dugan Chen"
|
||||
EMAIL="dugan_c@fastmail.fm"
|
||||
APPROVED="rworkman"
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/csh
|
||||
setenv ANT_HOME /opt/apache-ant
|
||||
setenv PATH ${PATH}:${ANT_HOME}/bin
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
export ANT_HOME=/opt/apache-ant
|
||||
export PATH=$PATH:$ANT_HOME/bin
|
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||
# the right side marks the last column you can put a character in. You must make
|
||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler-------------------------------------------------|
|
||||
apache-ant: Apache Ant (Java-based build tool)
|
||||
apache-ant:
|
||||
apache-ant: Apache Ant is a Java-based build tool - like make but without
|
||||
apache-ant: make's wrinkles.
|
||||
apache-ant:
|
||||
apache-ant: Ant is extended using Java classes. The configuration files are
|
||||
apache-ant: XML-based, calling out a target tree where tasks get executed.
|
||||
apache-ant: Each task is run by an object that implements a Task interface.
|
||||
apache-ant:
|
||||
apache-ant: Homepage: http://ant.apache.org/
|
||||
apache-ant:
|
Loading…
Reference in New Issue