diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 11:22:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 11:22:25 +0100 |
commit | 6a851e4f7c23c15c4b7853e6c34b0a0b9bc68482 (patch) | |
tree | 027421c2b8ddbc8c802c488ba086753da35fcfad /dev-util/astyle/astyle-3.4.ebuild | |
parent | fcf991edcc1b310199e4e829a3706bc1c267d1db (diff) |
gentoo auto-resync : 24:09:2023 - 11:22:25
Diffstat (limited to 'dev-util/astyle/astyle-3.4.ebuild')
-rw-r--r-- | dev-util/astyle/astyle-3.4.ebuild | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/dev-util/astyle/astyle-3.4.ebuild b/dev-util/astyle/astyle-3.4.ebuild deleted file mode 100644 index 729799088abb..000000000000 --- a/dev-util/astyle/astyle-3.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs java-pkg-opt-2 - -DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" -HOMEPAGE="https://astyle.sourceforge.net/" -SRC_URI="mirror://sourceforge/astyle/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0/3.2" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="examples java static-libs" - -DEPEND=" - app-arch/xz-utils - java? ( >=virtual/jdk-1.6:= ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - if use java ; then - java-pkg-opt-2_src_prepare - sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= $(java-pkg_get-jni-cflags):" \ - -e "s:ar crs:$(tc-getAR) crs:" \ - -i build/gcc/Makefile || die - else - default - fi -} - -src_configure() { - tc-export CXX - default -} - -src_compile() { - # ../build/clang/Makefile is identical except for CXX line. - emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \ - ${PN} \ - shared \ - $(usev java) \ - $(usev static-libs static) -} - -src_install() { - doheader src/${PN}.h - - pushd src/bin >/dev/null || die - dobin ${PN} - - local libastylename="lib${PN}.so.${SLOT##*/}.0" - local libastylejname="lib${PN}j.so.${SLOT##*/}.0" - local libdestdir="/usr/$(get_libdir)" - - dolib.so "${libastylename}" - dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(ver_cut 1 ${SLOT##*/})" - dosym "${libastylename}" "${libdestdir}/lib${PN}.so" - if use java ; then - dolib.so "${libastylejname}" - dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(ver_cut 1 ${SLOT##*/})" - dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so" - fi - if use static-libs ; then - dolib.a lib${PN}.a - fi - popd >/dev/null || die - if use examples ; then - docinto examples - dodoc -r file/. - docompress -x /usr/share/doc/${PF}/examples - fi - local HTML_DOCS=( doc/. ) - einstalldocs -} |