diff options
author | Sam James <sam@gentoo.org> | 2022-12-06 16:25:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-06 16:54:55 +0000 |
commit | 26750a49bf8752162b982cbdaaa6695a24b26672 (patch) | |
tree | d596db01a7caf74027376d3082b35a8213cab7e4 /sys-devel/autoconf-dickey | |
parent | sys-devel/autoconf-dickey: fix slot (diff) | |
download | gentoo-26750a49bf8752162b982cbdaaa6695a24b26672.tar.gz gentoo-26750a49bf8752162b982cbdaaa6695a24b26672.tar.bz2 gentoo-26750a49bf8752162b982cbdaaa6695a24b26672.zip |
sys-devel/autoconf-dickey: add 2.52_p20221202
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/autoconf-dickey')
-rw-r--r-- | sys-devel/autoconf-dickey/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20210509-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20221202.ebuild | 53 |
3 files changed, 56 insertions, 1 deletions
diff --git a/sys-devel/autoconf-dickey/Manifest b/sys-devel/autoconf-dickey/Manifest index 0898f0a03ea6..db6ee2c323ab 100644 --- a/sys-devel/autoconf-dickey/Manifest +++ b/sys-devel/autoconf-dickey/Manifest @@ -1 +1,3 @@ DIST autoconf-2.52-20210509.tgz 874991 BLAKE2B bf8ff6496887f23cce167dfcc5177117ab5514996884998b3237c21e355b34301aabb71dacbff1e171ef21530d745345e584d876b3b5571f4faf863135b4269f SHA512 0203bbe096a2ecbee6bf012fec10a8f90e0b391d5988e202d2a1c718aa856d6c4953fb5e2be215ae635cd6b876b0229d6de1ffc7e2b35cd14684ef7c8294e546 +DIST autoconf-2.52-20221202.tgz 877960 BLAKE2B 52ef77d98f5d6e64e4c13e09ef92b3141703238953ad27b6e232cb62407cd56b07a1cad79f4405606f400246e85650925a7035b73119cda70d7faf049b61105c SHA512 8becd8791dbdbcf0801bbed8cbdf70666db10e3c6882b3f8e63e1cf04163818345be573018d96a2e0a28770e13cc452126fb9cb23b223df598c50f59e69c2d1a +DIST autoconf-2.52-20221202.tgz.asc 729 BLAKE2B 64a528da36243271d1ae1e95e4182c663c571021e617554076bed78e5c12a3f16a2554e3b41ad6372751090ac05770bc59f090ca1e5226aa2c7c5fda48026bbf SHA512 dadf6805072cc072bbd16a939b285c7ab378e23aa0b9e6c808eb11bf40b679cc97cc748c524ac7255a0b47a4815dcd2796c606f963dbbce52a93956ccc8814fd diff --git a/sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20210509-r1.ebuild b/sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20210509-r1.ebuild index f3ca0509bac2..e0389543c326 100644 --- a/sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20210509-r1.ebuild +++ b/sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20210509-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://invisible-island.net/archives/autoconf/${MY_P}.tgz" S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" -SLOT="${PV}" +SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" BDEPEND=" diff --git a/sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20221202.ebuild b/sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20221202.ebuild new file mode 100644 index 000000000000..e1ebff9a61c1 --- /dev/null +++ b/sys-devel/autoconf-dickey/autoconf-dickey-2.52_p20221202.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: adapt toolchain-autoconf to take econf args? +# TODO: review our old autoconf-2.52 patches? + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc +inherit verify-sig + +MY_P=${PN/-dickey}-${PV/_p/-} +DESCRIPTION="Fork of sys-devel/autoconf for Thomas Dickey's packages" +HOMEPAGE="https://invisible-island.net/autoconf/autoconf.html" +SRC_URI="https://invisible-island.net/archives/autoconf/${MY_P}.tgz" +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/autoconf/${MY_P}.tgz.asc )" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + >=sys-devel/m4-1.4.16 + >=dev-lang/perl-5.6 +" +BDEPEND=" + ${RDEPEND} + verify-sig? ( sec-keys/openpgp-keys-thomasdickey ) +" + +src_prepare() { + # usr/bin/libtool is provided by binutils-apple, need gnu libtool + #if [[ ${CHOST} == *-darwin* ]] ; then + # PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch ) + #fi + + default +} + +src_configure() { + local myeconfargs=( + --datadir="${EPREFIX}"/usr/share/${PN} + --program-suffix=-dickey + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # -j1 for bug #869278 + emake -j1 check +} |