summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-21 11:53:20 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-21 11:53:20 +0000
commita241d1966e97aa398e829a9f37670666d14ce29e (patch)
tree4ae74763de547e5d43995142f6d8a735ad2505b0 /sys-devel
parentarm/s390/sh stable (diff)
downloadgentoo-2-a241d1966e97aa398e829a9f37670666d14ce29e.tar.gz
gentoo-2-a241d1966e97aa398e829a9f37670666d14ce29e.tar.bz2
gentoo-2-a241d1966e97aa398e829a9f37670666d14ce29e.zip
old
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/automake-wrapper/automake-wrapper-1-r1.ebuild29
-rw-r--r--sys-devel/automake-wrapper/automake-wrapper-2-r1.ebuild29
-rw-r--r--sys-devel/automake-wrapper/files/am-wrapper-1.sh129
-rwxr-xr-xsys-devel/automake-wrapper/files/am-wrapper-2.sh145
4 files changed, 0 insertions, 332 deletions
diff --git a/sys-devel/automake-wrapper/automake-wrapper-1-r1.ebuild b/sys-devel/automake-wrapper/automake-wrapper-1-r1.ebuild
deleted file mode 100644
index ff33f5101d4f..000000000000
--- a/sys-devel/automake-wrapper/automake-wrapper-1-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/automake-wrapper-1-r1.ebuild,v 1.6 2006/11/03 18:35:40 grobian Exp $
-
-inherit multilib
-
-DESCRIPTION="wrapper for automake to manage multiple automake versions"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-S=${WORKDIR}
-
-src_install() {
- exeinto /usr/$(get_libdir)/misc
- newexe "${FILESDIR}"/am-wrapper-${PV}.sh am-wrapper.sh || die
-
- keepdir /usr/share/aclocal
-
- dodir /usr/bin
- local x=
- for x in aclocal automake ; do
- dosym ../$(get_libdir)/misc/am-wrapper.sh /usr/bin/${x}
- done
-}
diff --git a/sys-devel/automake-wrapper/automake-wrapper-2-r1.ebuild b/sys-devel/automake-wrapper/automake-wrapper-2-r1.ebuild
deleted file mode 100644
index c3abf09fed95..000000000000
--- a/sys-devel/automake-wrapper/automake-wrapper-2-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/automake-wrapper-2-r1.ebuild,v 1.5 2007/02/14 00:51:51 wolf31o2 Exp $
-
-inherit multilib
-
-DESCRIPTION="wrapper for automake to manage multiple automake versions"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-S=${WORKDIR}
-
-src_install() {
- exeinto /usr/$(get_libdir)/misc
- newexe "${FILESDIR}"/am-wrapper-${PV}.sh am-wrapper.sh || die
-
- keepdir /usr/share/aclocal
-
- dodir /usr/bin
- local x=
- for x in aclocal automake ; do
- dosym ../$(get_libdir)/misc/am-wrapper.sh /usr/bin/${x}
- done
-}
diff --git a/sys-devel/automake-wrapper/files/am-wrapper-1.sh b/sys-devel/automake-wrapper/files/am-wrapper-1.sh
deleted file mode 100644
index b21e0e0a2547..000000000000
--- a/sys-devel/automake-wrapper/files/am-wrapper-1.sh
+++ /dev/null
@@ -1,129 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-1.sh,v 1.4 2005/05/14 17:42:00 vapier Exp $
-
-# Based on the am-wrapper.pl script provided by MandrakeSoft
-# Rewritten in bash by Gregorio Guidi
-#
-# Executes the correct automake version.
-#
-# - defaults to automake-1.9
-# - runs automake-1.8 if:
-# - envvar WANT_AUTOMAKE is set to `1.8'
-# -or-
-# - `Makefile.in' was generated by automake-1.8
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.8
-# - runs automake-1.7 if:
-# - envvar WANT_AUTOMAKE is set to `1.7'
-# -or-
-# - `Makefile.in' was generated by automake-1.7
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.7
-# - runs automake-1.6 if:
-# - envvar WANT_AUTOMAKE is set to `1.6'
-# -or-
-# - `Makefile.in'
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.6
-# - runs automake-1.5 if:
-# - envvar WANT_AUTOMAKE is set to `1.5'
-# -or-
-# - `Makefile.in' was generated by automake-1.5
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.5
-# - runs automake-1.4 if:
-# - envvar WANT_AUTOMAKE is set to `1.4'
-# -or-
-# - `Makefile.in' was generated by automake-1.4
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.4
-
-if [ "${0##*/}" = "am-wrapper.sh" ] ; then
- echo "Don't call this script directly." >&2
- exit 1
-fi
-
-vers="1.9 1.8 1.7 1.6 1.5 1.4"
-
-for v in ${vers} ; do
- eval binary_${v/./_}="${0}-${v}"
-done
-binary="${binary_1_9}"
-
-#
-# Check the WANT_AUTOMAKE setting
-#
-for v in ${vers} x ; do
- if [ "${v}" = "x" ] ; then
- unset WANT_AUTOMAKE
- break
- fi
-
- if [ "${WANT_AUTOMAKE}" = "${v}" ] ; then
- binary="binary_${v/./_}"
- binary="${!binary}"
- break
- fi
-done
-
-do_awk() {
- local file=$1 ; shift
- local arg=$1 ; shift
- echo $(gawk "{ if (match(\$0, \"$*\", res)) { print res[${arg}]; exit } }" ${file})
-}
-
-#
-# autodetect routine
-#
-if [ -z "${WANT_AUTOMAKE}" ] ; then
- if [ -r "Makefile.in" ] ; then
- confversion_mf=$(do_awk Makefile.in 2 "^# Makefile.in generated (automatically )?by automake ([0-9].[0-9])")
- fi
- if [ -r "aclocal.m4" ] ; then
- confversion_ac=$(do_awk aclocal.m4 1 'generated automatically by aclocal ([0-9].[0-9])')
- confversion_am=$(do_awk aclocal.m4 1 '[[:space:]]*\\[?AM_AUTOMAKE_VERSION\\(\\[?([0-9].[0-9])[^)]*\\]?\\)')
- fi
-
- for v in ${vers} ; do
- if [ "${confversion_mf}" = "${v}" ] \
- || [ "${confversion_ac}" = "${v}" ] \
- || [ "${confversion_am}" = "${v}" ] ; then
- binary="binary_${v/./_}"
- binary="${!binary}"
- break
- fi
- done
-fi
-
-if [ "${WANT_AMWRAPPER_DEBUG}" ] ; then
- if [ "${WANT_AUTOMAKE}" ] ; then
- echo "am-wrapper: DEBUG: WANT_AUTOMAKE is set to ${WANT_AUTOMAKE}" >&2
- fi
- echo "am-wrapper: DEBUG: will execute <$binary>" >&2
-fi
-
-#
-# for further consistency
-#
-for v in ${vers} ; do
- mybin="binary_${v/./_}"
- if [ "${binary}" = "${!mybin}" ] ; then
- export WANT_AUTOMAKE="${v}"
- fi
-done
-
-#
-# Now try to run the binary
-#
-if [ ! -x "${binary}" ] ; then
- echo "am-wrapper: $binary is missing or not executable." >&2
- echo " Please try emerging the correct version of automake." >&2
- exit 1
-fi
-
-exec "$binary" "$@"
-
-echo "am-wrapper: was unable to exec $binary !?" >&2
-exit 1
diff --git a/sys-devel/automake-wrapper/files/am-wrapper-2.sh b/sys-devel/automake-wrapper/files/am-wrapper-2.sh
deleted file mode 100755
index 84c99e30d6a2..000000000000
--- a/sys-devel/automake-wrapper/files/am-wrapper-2.sh
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-2.sh,v 1.2 2006/11/10 00:04:41 vapier Exp $
-
-# Based on the am-wrapper.pl script provided by MandrakeSoft
-# Rewritten in bash by Gregorio Guidi
-#
-# Executes the correct automake version.
-#
-# - defaults to automake-1.10
-# - runs automake-1.9 if:
-# - envvar WANT_AUTOMAKE is set to `1.9'
-# -or-
-# - `Makefile.in' was generated by automake-1.9
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.9
-# - runs automake-1.8 if:
-# - envvar WANT_AUTOMAKE is set to `1.8'
-# -or-
-# - `Makefile.in' was generated by automake-1.8
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.8
-# - runs automake-1.7 if:
-# - envvar WANT_AUTOMAKE is set to `1.7'
-# -or-
-# - `Makefile.in' was generated by automake-1.7
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.7
-# - runs automake-1.6 if:
-# - envvar WANT_AUTOMAKE is set to `1.6'
-# -or-
-# - `Makefile.in'
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.6
-# - runs automake-1.5 if:
-# - envvar WANT_AUTOMAKE is set to `1.5'
-# -or-
-# - `Makefile.in' was generated by automake-1.5
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.5
-# - runs automake-1.4 if:
-# - envvar WANT_AUTOMAKE is set to `1.4'
-# -or-
-# - `Makefile.in' was generated by automake-1.4
-# -or-
-# - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.4
-
-if [ "${0##*/}" = "am-wrapper.sh" ] ; then
- echo "Don't call this script directly." >&2
- exit 1
-fi
-
-vers="1.10 1.9 1.8 1.7 1.6 1.5 1.4"
-
-binary=""
-for v in ${vers} ; do
- eval binary_${v/./_}="${0}-${v}"
-
- if [ -z "${binary}" ] && [ -x "${0}-${v}" ] ; then
- binary="${0}-${v}"
- fi
-done
-if [ -z "${binary}" ] ; then
- echo "am-wrapper: Unable to locate any usuable version of automake." >&2
- echo " I tried these versions: ${vers}" >&2
- echo " With a base name of '${0}'." >&2
- exit 1
-fi
-
-#
-# Check the WANT_AUTOMAKE setting
-#
-for v in ${vers} x ; do
- if [ "${v}" = "x" ] ; then
- unset WANT_AUTOMAKE
- break
- fi
-
- if [ "${WANT_AUTOMAKE}" = "${v}" ] ; then
- binary="binary_${v/./_}"
- binary="${!binary}"
- break
- fi
-done
-
-do_awk() {
- local file=$1 ; shift
- local arg=$1 ; shift
- echo $(gawk "{ if (match(\$0, \"$*\", res)) { print res[${arg}]; exit } }" ${file})
-}
-
-#
-# autodetect routine
-#
-if [ -z "${WANT_AUTOMAKE}" ] ; then
- if [ -r "Makefile.in" ] ; then
- confversion_mf=$(do_awk Makefile.in 2 "^# Makefile.in generated (automatically )?by automake ([0-9].[0-9]+)")
- fi
- if [ -r "aclocal.m4" ] ; then
- confversion_ac=$(do_awk aclocal.m4 1 'generated automatically by aclocal ([0-9].[0-9]+)')
- confversion_am=$(do_awk aclocal.m4 1 '[[:space:]]*\\[?AM_AUTOMAKE_VERSION\\(\\[?([0-9].[0-9]+)[^)]*\\]?\\)')
- fi
-
- for v in ${vers} ; do
- if [ "${confversion_mf}" = "${v}" ] \
- || [ "${confversion_ac}" = "${v}" ] \
- || [ "${confversion_am}" = "${v}" ] ; then
- binary="binary_${v/./_}"
- binary="${!binary}"
- break
- fi
- done
-fi
-
-if [ "${WANT_AMWRAPPER_DEBUG}" ] ; then
- if [ "${WANT_AUTOMAKE}" ] ; then
- echo "am-wrapper: DEBUG: WANT_AUTOMAKE is set to ${WANT_AUTOMAKE}" >&2
- fi
- echo "am-wrapper: DEBUG: will execute <$binary>" >&2
-fi
-
-#
-# for further consistency
-#
-for v in ${vers} ; do
- mybin="binary_${v/./_}"
- if [ "${binary}" = "${!mybin}" ] ; then
- export WANT_AUTOMAKE="${v}"
- fi
-done
-
-#
-# Now try to run the binary
-#
-if [ ! -x "${binary}" ] ; then
- echo "am-wrapper: $binary is missing or not executable." >&2
- echo " Please try emerging the correct version of automake." >&2
- exit 1
-fi
-
-exec "$binary" "$@"
-
-echo "am-wrapper: was unable to exec $binary !?" >&2
-exit 1