mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
dev-java/jcifs: Drop old
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
|
||||
SRC_URI="https://jcifs.samba.org/src/${P}.tgz"
|
||||
HOMEPAGE="https://jcifs.samba.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.1"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
java-virtuals/servlet-api:2.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${RDEPEND}"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P/-/_}
|
||||
|
||||
java_prepare() {
|
||||
rm -v *.jar || die
|
||||
epatch "${FILESDIR}/${PV}-build.xml.patch"
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_EXTRA_ARGS="-DhasServlet=true"
|
||||
EANT_GENTOO_CLASSPATH="servlet-api-2.4"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P}.jar
|
||||
|
||||
dodoc README.txt || die
|
||||
# other stuff besides javadocs
|
||||
use doc && java-pkg_dohtml -r docs/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples examples
|
||||
}
|
||||
Reference in New Issue
Block a user