tkurbad-overlay/net-p2p/jdownloader/jdownloader-9999.ebuild

47 lines
1.2 KiB
Bash
Raw Normal View History

2012-11-14 15:06:41 +01:00
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
2012-11-14 16:00:10 +01:00
inherit java-pkg-2 java-ant-2 subversion
2012-11-14 15:06:41 +01:00
DESCRIPTION="Platform Independent Tool to Download Files from One-Click-Hosting Sites"
HOMEPAGE="http://jdownloader.org"
2012-11-14 16:00:10 +01:00
# Workaround for single-valued ESVN_REPO_URI
# (s. src_unpack())
ESVN_REPO_URI_JD="svn://svn.jdownloader.org/jdownloader/trunk"
ESVN_REPO_URI_AW_UTILS="svn://svn.appwork.org/utils"
ESVN_REPO_URI_AW_UPDCLIENT="svn://svn.appwork.org/updclient"
ESVN_REPO_URI_JD_BROWSER="svn://svn.jdownloader.org/jdownloader/browser"
ESVN_REPO_URI="${ESVN_REPO_URI_JD}"
2012-11-14 15:06:41 +01:00
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
2012-11-14 16:00:10 +01:00
DEPEND="dev-java/ant
>=virtual/jdk-1.5"
2012-11-14 15:06:41 +01:00
RDEPEND=">=virtual/jre-1.5"
2012-11-14 16:00:10 +01:00
EANT_BUILD_XML="build/build.xml"
src_unpack() {
subversion_fetch "${ESVN_REPO_URI}" jdownloader
subversion_fetch "${ESVN_REPO_URI_AW_UTILS}" appwork-utils
subversion_fetch "${ESVN_REPO_URI_AW_UPDCLIENT}" appwork-updclient
subversion_fetch "${ESVN_REPO_URI_JD_BROWSER}" jd-browser
}
src_compile() {
cd "${S}/appwork-utils"
java-pkg-2_src_compile
cd "${S}/appwork-updclient"
java-pkg-2_src_compile
cd "${S}/jd-browser"
java-pkg-2_src_compile
}