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

51 lines
1.3 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"
2016-10-01 13:50:24 +02:00
EANT_BUILD_TARGET="pack_linux"
2012-11-14 16:00:10 +01:00
src_unpack() {
subversion_fetch "${ESVN_REPO_URI}" jdownloader
subversion_fetch "${ESVN_REPO_URI_AW_UTILS}" appwork-utils
2016-10-01 13:50:24 +02:00
mv "${S}"/appworkutils/utils jdownloader/AppWorkUtils
#subversion_fetch "${ESVN_REPO_URI_AW_UPDCLIENT}" appwork-updclient
#subversion_fetch "${ESVN_REPO_URI_JD_BROWSER}" jd-browser
2012-11-14 16:00:10 +01:00
}
src_compile() {
2016-10-01 13:50:24 +02:00
#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
cd "${S}/jdownloader"
2012-11-14 16:00:10 +01:00
java-pkg-2_src_compile
}