diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-08 09:23:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-08 09:23:49 +0000 |
commit | f077c725ef746943ec7902350b30ff569f5995ba (patch) | |
tree | ac5ad0215e09a9daa3ce0e55095401ead1936ac8 /dev-java/felix-main/felix-main-7.0.5.ebuild | |
parent | b6cda9acfebad17184578dfebaf2434ef2884883 (diff) |
gentoo auto-resync : 08:11:2022 - 09:23:49
Diffstat (limited to 'dev-java/felix-main/felix-main-7.0.5.ebuild')
-rw-r--r-- | dev-java/felix-main/felix-main-7.0.5.ebuild | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/dev-java/felix-main/felix-main-7.0.5.ebuild b/dev-java/felix-main/felix-main-7.0.5.ebuild deleted file mode 100644 index ce90f0bb76dc..000000000000 --- a/dev-java/felix-main/felix-main-7.0.5.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/felix/org.apache.felix.main-7.0.5-source-release.tar.gz --slot 0 --keywords "~amd64" --ebuild felix-main-7.0.5.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="org.apache.felix:org.apache.felix.main:7.0.5" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Open source OSGi framework by Apache Software Foundation" -HOMEPAGE="https://felix.apache.org/documentation/index.html" -SRC_URI="mirror://apache/felix/org.apache.${PN//-/.}-${PV}-source-release.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" - -# Common dependencies -# POM: pom.xml -# org.apache.felix:org.apache.felix.framework:7.0.5 -> >=dev-java/felix-framework-7.0.5:0 - -CP_DEPEND="~dev-java/felix-framework-${PV}:0" - -DEPEND=" - >=virtual/jdk-1.8:* - ${CP_DEPEND} -" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND} -" - -DOCS=( DEPENDENCIES NOTICE ) - -S="${WORKDIR}/org.apache.felix.main-${PV}" - -JAVA_MAIN_CLASS="org.apache.felix.main.Main" -JAVA_RESOURCE_DIRS="src/main/resources" -JAVA_SRC_DIR="src/main/java" - -src_prepare() { - default - # 58,91 pom.xml - cat > src/main/java/module-info.java <<-EOF || die - $( sed -n '/<moduleInfoSource>/,/<\/moduleInfoSource/p' pom.xml \ - | grep -v moduleInfoSource ) - EOF - - # according to pom.xml, line 91 - local add_opens="$( sed -n '/<Add-opens>/,/<\/Add-opens/p' pom.xml \ - | grep -v Add-opens | tr -s '[:space:]')" || die - mkdir src/main/resources/META-INF || die - echo "Add-opens:${add_opens}" >> src/main/resources/META-INF/MANIFEST.MF \ - || die "creating MANIFEST.MF failed" - - # no idea what to do with felix.log.level=${log.level} here, but ... - sed -e 's/{dollar}//' -i src/main/resources/config.properties || die - - # bundling some classes from felix-framework according to 78,94 pom.xml - # if we don't bundle compilation of module-info would fail - cd src/main/resources || die - jar xvf "$(java-pkg_getjar --build-only felix-framework felix-framework.jar)" \ - default.properties org/ || die "felix-framework.jar does not exist" -} - -src_install() { - dodoc -r doc - java-pkg-simple_src_install -} |