mirror of
https://github.com/gryf/gryf-overlay.git
synced 2025-12-24 23:22:31 +01:00
Added autoconf 2.71 copy
This commit is contained in:
4
sys-devel/autoconf/Manifest
Normal file
4
sys-devel/autoconf/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX autoconf-2.71-darwin.patch 525 BLAKE2B 641a98ccc5070ed46480c65c3966b7c047a48bc44930b0ca6039e492d383857140fa7da152eb60ad6bc51ad129cfbf66bd9863dea25672f985b38422a4ce3160 SHA512 92c528f416c6dbc413bd027c6684b8bf14b397164e13d5a2e754e23ac0803b09b20bf54ec89e495736b122eb6b519013c94b54d36fa7aff2715454a6321d0a05
|
||||
DIST autoconf-2.71.tar.xz 1292296 BLAKE2B 7fd4b98b4cfff10720e8da6ee91045637991643b50fcb3e47a0ecfcc01600f7b7b36fd1c0a5f08b68a418f1bdbd8d5a98de1008157595dd37cc3a31facb61416 SHA512 73d32b4adcbe24e3bafa9f43f59ed3b6efbd3de0f194e5ec90375f35da1199c583f5d3e89139b7edbad35171403709270e339ffa56a2ecb9b3123e9285021ff0
|
||||
EBUILD autoconf-2.71.ebuild 1937 BLAKE2B 18d84abc1cdc98664c0aa5e8b20b4a8ae479395c78f2cb9bd804add067cd93b8bebea3a3c5d269f2b6adddb43ee4d242c99e3dbb722b5216f7935a497509d9c2 SHA512 973ae1de45b058500db436a57319612896af081982519e3aa69ef6d7ba5225fcf7284897abfb6cf73fed9929670e750cd2ec03585345f14277c96d4abf20ce02
|
||||
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
|
||||
69
sys-devel/autoconf/autoconf-2.71.ebuild
Normal file
69
sys-devel/autoconf/autoconf-2.71.ebuild
Normal file
@@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
|
||||
inherit git-r3
|
||||
else
|
||||
# For _beta handling replace with real version number
|
||||
MY_PV="${PV}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz
|
||||
https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz"
|
||||
[[ "${PV}" == *_beta* ]] || \
|
||||
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"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
inherit toolchain-autoconf
|
||||
|
||||
DESCRIPTION="Used to create autoconfiguration files"
|
||||
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="${PV}"
|
||||
IUSE="emacs"
|
||||
|
||||
BDEPEND=">=sys-devel/m4-1.4.16
|
||||
>=dev-lang/perl-5.6"
|
||||
RDEPEND="${BDEPEND}
|
||||
>=sys-devel/autoconf-wrapper-15
|
||||
sys-devel/gnuconfig
|
||||
!~sys-devel/${P}:2.5"
|
||||
[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
|
||||
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
|
||||
|
||||
src_prepare() {
|
||||
# usr/bin/libtool is provided by binutils-apple, need gnu libtool
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
PATCHES+=( "${FILESDIR}"/${PN}-2.71-darwin.patch )
|
||||
fi
|
||||
|
||||
# Save timestamp to avoid later makeinfo call
|
||||
touch -r doc/{,old_}autoconf.texi || die
|
||||
|
||||
local pdir
|
||||
for pdir in "${WORKDIR}"/{upstream_,}patches ; do
|
||||
if [[ -d "${pdir}" ]] ; then
|
||||
eapply ${pdir}
|
||||
fi
|
||||
done
|
||||
|
||||
toolchain-autoconf_src_prepare
|
||||
|
||||
# Restore timestamp to avoid makeinfo call
|
||||
# We already have an up to date autoconf.info page at this point.
|
||||
touch -r doc/{old_,}autoconf.texi || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
toolchain-autoconf_src_install
|
||||
|
||||
local f
|
||||
for f in config.{guess,sub} ; do
|
||||
ln -fs ../../gnuconfig/${f} \
|
||||
"${ED}"/usr/share/autoconf-*/build-aux/${f} || die
|
||||
done
|
||||
}
|
||||
11
sys-devel/autoconf/files/autoconf-2.71-darwin.patch
Normal file
11
sys-devel/autoconf/files/autoconf-2.71-darwin.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/bin/autoreconf.in
|
||||
+++ b/bin/autoreconf.in
|
||||
@@ -122,7 +122,7 @@
|
||||
my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
|
||||
my $automake = $ENV{'AUTOMAKE'} || 'automake';
|
||||
my $aclocal = $ENV{'ACLOCAL'} || 'aclocal';
|
||||
-my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
|
||||
+my $libtoolize = $ENV{'LIBTOOLIZE'} || 'glibtoolize';
|
||||
my $intltoolize = $ENV{'INTLTOOLIZE'} || 'intltoolize';
|
||||
my $gtkdocize = $ENV{'GTKDOCIZE'} || 'gtkdocize';
|
||||
my $autopoint = $ENV{'AUTOPOINT'} || 'autopoint';
|
||||
8
sys-devel/autoconf/metadata.xml
Normal file
8
sys-devel/autoconf/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user