mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/bnd-ant: new package, add 7.0.0
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: bb5d40cd03
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
committed by
Miroslav Šulc
parent
c70f09ff24
commit
f5f46c61f2
1
dev-java/bnd-ant/Manifest
Normal file
1
dev-java/bnd-ant/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST aQute.bnd-7.0.0.tar.gz 172496438 BLAKE2B a2e443b0e4a2eb278a8e1df86456fea22ffb8147adc00c9f300cbd32b226218bb64ccca3da3bcd0d79b07567a7b4cf4456b96224d6abf59486fa08ca6170d0ba SHA512 11d34a7d1a9b2fb2e8c112d414a06c281ccde9a7b06c62043e19d83e85ea64fdf022dd4493a14dd2dcf6adee392a1e9bf1ab05a6d690a328f29d7019045bca8c
|
||||
46
dev-java/bnd-ant/bnd-ant-7.0.0.ebuild
Normal file
46
dev-java/bnd-ant/bnd-ant-7.0.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="biz.aQute.bnd:biz.aQute.bnd.ant:${PV}"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Bnd Ant Tasks"
|
||||
HOMEPAGE="https://bnd.bndtools.org/"
|
||||
SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.tar.gz -> aQute.bnd-${PV}.tar.gz"
|
||||
S="${WORKDIR}/bnd-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0 EPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-java/ant:0
|
||||
dev-java/bnd:0
|
||||
>=virtual/jdk-17:*"
|
||||
RDEPEND=">=virtual/jre-17:*"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="biz.aQute.bnd.ant"
|
||||
JAVA_CLASSPATH_EXTRA="
|
||||
ant
|
||||
bnd
|
||||
"
|
||||
|
||||
JAVA_RESOURCE_DIRS="res"
|
||||
JAVA_SRC_DIR="biz.aQute.bnd.ant/src"
|
||||
|
||||
src_prepare() {
|
||||
default #780585
|
||||
java-pkg-2_src_prepare
|
||||
mkdir res || die
|
||||
|
||||
# java-pkg-simple wants resources in JAVA_RESOURCE_DIRS
|
||||
pushd biz.aQute.bnd.ant/src > /dev/null || die
|
||||
find -type f \
|
||||
! -name '*.java' \
|
||||
| xargs cp --parent -t ../../res || die
|
||||
popd > /dev/null || die
|
||||
}
|
||||
10
dev-java/bnd-ant/metadata.xml
Normal file
10
dev-java/bnd-ant/metadata.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">bndtools/bnd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user