diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-19 06:30:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-19 06:30:37 +0000 |
commit | 3643964b7f6f58cb72b7c2e09fd240617eef11bd (patch) | |
tree | 07b9067b6cbe3e844f20f1010a1dc5e762d98fc3 /sys-devel | |
parent | version bump (diff) | |
download | gentoo-2-3643964b7f6f58cb72b7c2e09fd240617eef11bd.tar.gz gentoo-2-3643964b7f6f58cb72b7c2e09fd240617eef11bd.tar.bz2 gentoo-2-3643964b7f6f58cb72b7c2e09fd240617eef11bd.zip |
Version bump.
(Portage version: 2.1.2_rc3-r5)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gdb/files/digest-gdb-6.6 | 6 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-6.6.ebuild | 77 |
3 files changed, 89 insertions, 1 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index ce4cc4aaec24..170285c32d8b 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.99 2006/08/24 00:53:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.100 2006/12/19 06:30:37 vapier Exp $ + +*gdb-6.6 (19 Dec 2006) + + 19 Dec 2006; Mike Frysinger <vapier@gentoo.org> +gdb-6.6.ebuild: + Version bump. *gdb-6.5-r2 (24 Aug 2006) diff --git a/sys-devel/gdb/files/digest-gdb-6.6 b/sys-devel/gdb/files/digest-gdb-6.6 new file mode 100644 index 000000000000..a6a7cd459db3 --- /dev/null +++ b/sys-devel/gdb/files/digest-gdb-6.6 @@ -0,0 +1,6 @@ +MD5 a54b78a18877902d4d76bcf290a97b88 gdb-6.6-patches-1.0.tar.bz2 9961 +RMD160 01c2b749fbd0468a2d91e78c3dac6376d453e128 gdb-6.6-patches-1.0.tar.bz2 9961 +SHA256 745e82cd043ca8a3ca6b45c3c10e1f7670f111b19fbe18276929589dfacfe510 gdb-6.6-patches-1.0.tar.bz2 9961 +MD5 a4df41d28dd514d64e8ccbfe125fd9a6 gdb-6.6.tar.bz2 14535755 +RMD160 6430798ba47a1913676622db9a73bf2bcfa703be gdb-6.6.tar.bz2 14535755 +SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd gdb-6.6.tar.bz2 14535755 diff --git a/sys-devel/gdb/gdb-6.6.ebuild b/sys-devel/gdb/gdb-6.6.ebuild new file mode 100644 index 000000000000..acf71d70ef4f --- /dev/null +++ b/sys-devel/gdb/gdb-6.6.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.6.ebuild,v 1.1 2006/12/19 06:30:37 vapier Exp $ + +inherit flag-o-matic eutils + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +PATCH_VER="1.0" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sources.redhat.com/gdb/" +SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 + ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2 + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +[[ ${CTARGET} != ${CHOST} ]] \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" +IUSE="nls test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2" +DEPEND="${RDEPEND} + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + use vanilla || EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + strip-linguas -u bfd/po opcodes/po +} + +src_compile() { + replace-flags -O? -O2 + econf \ + --disable-werror \ + $(use_enable nls) \ + || die + emake || die +} + +src_test() { + make check || ewarn "tests failed" +} + +src_install() { + make \ + DESTDIR="${D}" \ + libdir=/nukeme includedir=/nukeme \ + install || die + rm -r "${D}"/nukeme || die + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -r "${D}"/usr/share + return 0 + fi + + dodoc README + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/ChangeLog gdb/PROBLEMS + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + dodoc "${WORKDIR}"/extra/gdbinit.sample + + # Remove shared info pages + rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* +} |