diff options
Diffstat (limited to 'dev-util/ddd/ddd-3.3.10.ebuild')
-rw-r--r-- | dev-util/ddd/ddd-3.3.10.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/ddd/ddd-3.3.10.ebuild b/dev-util/ddd/ddd-3.3.10.ebuild new file mode 100644 index 000000000000..1ecc73a5f4fa --- /dev/null +++ b/dev-util/ddd/ddd-3.3.10.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ddd/ddd-3.3.10.ebuild,v 1.1 2004/11/27 12:02:38 mholzer Exp $ + +inherit eutils + +DESCRIPTION="graphical front-end for command-line debuggers" +HOMEPAGE="http://www.gnu.org/software/ddd" +SRC_URI="mirror://sourceforge/ddd/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2 LGPL-2.1 FDL-1.1" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64 ~ppc64" +IUSE="" + +DEPEND="virtual/x11 + >=sys-devel/gcc-3 + >=sys-devel/gdb-4.16 + x11-libs/openmotif" + +src_compile() { + CXXFLAGS="${CXXFLAGS}" + econf || die + emake || die +} + +src_install() { + dodir /usr/lib + # If using internal libiberty.a, need to pass + # $tooldir to 'make install', else we get + # sandbox errors ... bug #4614. + # <azarah@gentoo.org> 05 Dec 2002 + einstall tooldir=${D}/usr || die + + # This one is from binutils + [ -f ${D}/usr/lib/libiberty.a ] && rm -f ${D}/usr/lib/libiberty.a + # Remove empty dir ... + rmdir ${D}/usr/lib || : + + mv ${S}/doc/README ${S}/doc/README-DOC + dodoc ANNOUNCE AUTHORS BUGS COPYING* CREDITS INSTALL NEWS* NICKNAMES \ + OPENBUGS PROBLEMS README* TIPS TODO + + mv ${S}/doc/* ${D}/usr/share/doc/${PF} +} |