2014-06-10 20:12:48 +02:00
|
|
|
# Template file for 'java-commons-io'
|
|
|
|
_origname="commons-io"
|
|
|
|
pkgname=java-commons-io
|
|
|
|
version=2.4
|
2014-06-22 08:42:16 +02:00
|
|
|
revision=3
|
2014-06-10 20:12:48 +02:00
|
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
|
|
homepage="http://commons.apache.org/io"
|
|
|
|
license="Apache-2.0"
|
|
|
|
short_desc="IO related classes for Java."
|
2014-06-22 08:11:01 +02:00
|
|
|
hostmakedepends="oracle-jdk apache-ant"
|
|
|
|
depends="oracle-jdk?java-runtime"
|
2014-06-10 20:12:48 +02:00
|
|
|
noarch="yes"
|
|
|
|
distfiles="http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/commons/io/source/${_origname}-${version}-src.tar.gz"
|
|
|
|
checksum="961c8b41a891933c2d662d8e490667243ac82422668d1ccdd7bfedfdb944bb58"
|
|
|
|
wrksrc="${_origname}-${version}-src"
|
|
|
|
|
|
|
|
do_build(){
|
2014-06-22 12:03:18 +02:00
|
|
|
cd ${wrksrc}
|
|
|
|
source /etc/profile.d/oracle-jdk.sh
|
|
|
|
ant jar
|
|
|
|
}
|
2014-06-10 20:12:48 +02:00
|
|
|
|
|
|
|
do_install(){
|
2014-06-22 12:03:18 +02:00
|
|
|
vinstall ${wrksrc}/target/${_origname}-2.2-SNAPSHOT.jar 755 /usr/share/java/${_origname} ${_origname}.jar
|
|
|
|
}
|