summaryrefslogtreecommitdiff
path: root/dev-util/mk-configure
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-08 11:11:23 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-08 11:11:23 +0000
commit909e6f36d5376b253aba44edc8f2af1a5acd0c11 (patch)
tree048569e21e5eb27492bcd1fa73bbc1cc462b3ce5 /dev-util/mk-configure
parentac778f2cf394586c43beb5d753a19ff3f6063556 (diff)
gentoo auto-resync : 08:12:2023 - 11:11:23
Diffstat (limited to 'dev-util/mk-configure')
-rw-r--r--dev-util/mk-configure/Manifest4
-rw-r--r--dev-util/mk-configure/mk-configure-0.38.2-r1.ebuild2
-rw-r--r--dev-util/mk-configure/mk-configure-0.38.3.ebuild89
3 files changed, 93 insertions, 2 deletions
diff --git a/dev-util/mk-configure/Manifest b/dev-util/mk-configure/Manifest
index e9900ae62e82..c35e24c2ee9d 100644
--- a/dev-util/mk-configure/Manifest
+++ b/dev-util/mk-configure/Manifest
@@ -1,3 +1,5 @@
DIST mk-configure-0.38.2.tar.gz 359518 BLAKE2B 17b28686d8d4d81373d86e4f23f4f9540cb62338b31aabbf21072c6ebe364d12db3fad2da6e7c0a2a5a6af39db099960879794dd7c9cb014e0cedea211c2fa5e SHA512 dd6542c39b24513288e69c0b971aa3c602bc450a812f1758b26c7f6b0cb9864a1a1d8e04153fb79394a53f7be1a5990c4dcf090d56de8edc8a6a7580799cbe76
-EBUILD mk-configure-0.38.2-r1.ebuild 1842 BLAKE2B e8758fbe4666748d2d946d43879c56b26eef818a2c0f3d2e2a41524c4035fe23609287c25951271d6bc1f8fc73e037bd7ca40bd289f5a0d60e559ebc483d9cbe SHA512 e474926f9125b1d6e47c86be0f4706ef314f948e55e54d65ce0dff25416f939114b42e1dcfc2925f486c312f40696d0130298f1b14abc47bb4a9f83f561e72ba
+DIST mk-configure-0.38.3.tar.gz 362541 BLAKE2B 6c071fbeef508bb35be9983d0c89d573b1f3b2753511361406776f245559f9c419199a90482f4979e20121084f683a6fd5b4dd38db3b3a3a71727a354a3470a0 SHA512 646cfe82f126299824bd1f2412ca66c75acfef9fd115d37dec23cb69072f9ed3801318de15aa957843d2f6a7a124b5bd411f06408f86aeaed1b58949ffb7ff5e
+EBUILD mk-configure-0.38.2-r1.ebuild 1854 BLAKE2B 44d7b1a0d41b9826c890a567dd1487a0ef2634ee7eb9e251fdcc01fce7e3a396126d6892956e89b878bb48787c2926d53be5a14221dc472687e04a5269e2c13a SHA512 2a6a2f75df214b7946e629015e9200d0d82117f38b021bf824121bd39746d06955e93b073f16ad3de58c5849b93ef11c0b7f7dac97a65eb9a43881d30d1e68bf
+EBUILD mk-configure-0.38.3.ebuild 1869 BLAKE2B bb0391e76dd1032c45ff86ab617a67e1f4b93e7397a405e2d6cc3f5e0ad9934da28861140fda679db2ec4eaf2abf1d82c029a6ef5aa39a552f802a122a29fa65 SHA512 6d4c0b0e6d1af604eb6d74e3bc1153f5853596cd764a87654374b5a854cb031d827ecebf3b3a6d3d16abc6d7fed134e16b80f04fb57ac662f5458e9028ab7037
MISC metadata.xml 382 BLAKE2B da0a75f928295c179866da180acd537f8b964b029f5d5f99aac2f84190fe9e2497b2845f6c5c506b236c650a6e460431183f24e0439b6bb81258567a5338bfc3 SHA512 e83bb04295df653acca72744e9575e8aed59063f5214409a99b32cec79a8fa54537545f8be839d4063831e8605ef52c7aad92491b3066364e1eea1750fdc1f17
diff --git a/dev-util/mk-configure/mk-configure-0.38.2-r1.ebuild b/dev-util/mk-configure/mk-configure-0.38.2-r1.ebuild
index bf63f6a98aa8..6b85d2dc2c14 100644
--- a/dev-util/mk-configure/mk-configure-0.38.2-r1.ebuild
+++ b/dev-util/mk-configure/mk-configure-0.38.2-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.gz"
LICENSE="BSD BSD-2 GPL-2+ MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv ~x86"
# TODO: investigate
RESTRICT="test"
diff --git a/dev-util/mk-configure/mk-configure-0.38.3.ebuild b/dev-util/mk-configure/mk-configure-0.38.3.ebuild
new file mode 100644
index 000000000000..e15132c72501
--- /dev/null
+++ b/dev-util/mk-configure/mk-configure-0.38.3.ebuild
@@ -0,0 +1,89 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing toolchain-funcs
+
+DESCRIPTION="Lightweight replacement for GNU autotools"
+HOMEPAGE="https://sourceforge.net/projects/mk-configure/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD BSD-2 GPL-2+ MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc"
+
+# TODO: investigate
+RESTRICT="test"
+
+RDEPEND="
+ || ( x11-misc/makedepend sys-devel/pmake )
+ sys-devel/bmake
+"
+BDEPEND="${RDEPEND}"
+
+src_configure() {
+ local jobs="$(makeopts_jobs)"
+ unset MAKEOPTS
+
+ export MAKEOPTS="-j${jobs}"
+ export MAKE=bmake
+}
+
+src_compile() {
+ MAKEARGS=(
+ AR="$(tc-getAR)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ NM="$(tc-getNM)"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+ RANLIB="$(tc-getRANLIB)"
+ STRIP="$(tc-getSTRIP)"
+ #SIZE="$(tc-getSIZE)"
+
+ # Don't use LD, use the compiler driver instead
+ LDCOMPILER=yes
+
+ CFLAGS="${CFLAGS}"
+ CXXFLAGS="${CXXFLAGS}"
+ LDFLAGS="${LDFLAGS}"
+
+ # Our toolchain already handles these
+ MKPIE=no
+ USE_SSP=no
+ USE_RELRO=no
+ USE_FORT=no
+
+ # No -Werror
+ WARNERR=no
+
+ INSTALL="${INSTALL:-${BROOT}/usr/bin/install}"
+
+ # Don't calcify compiler settings in installed files
+ MKCOMPILERSETTINGS=force
+
+ PREFIX="${EPREFIX}/usr"
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+ INFODIR="${EPREFIX}/usr/share/info"
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ MANDIR="${EPREFIX}/usr/share/man"
+
+ MKFILESDIR="${BROOT}/usr/share/mk-configure/mk"
+ BUILTINSDIR="${BROOT}/usr/share/mk-configure/builtins"
+ FEATURESDIR="${BROOT}/usr/share/mk-configure/feature"
+ )
+
+ emake cleandir-presentation "${MAKEARGS[@]}"
+ emake "${MAKEARGS[@]}"
+}
+
+src_test() {
+ emake "${MAKEARGS[@]}" test
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${ED}" install
+
+ rm "${ED}"/usr/share/doc/${PF}/LICENSE || die
+}