# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Light C, C++, and Fortran debugger under X11." myPV="3.38-beta2" SRC_URI="mirror://sourceforge/ups/${PN}-${myPV}.tar.gz" HOMEPAGE="http://ups.sourceforge.net/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="debug" DEPEND="virtual/x11" S=${WORKDIR}/${PN}-${myPV} src_compile() { myconf="--prefix=${D}usr" if use debug; then myconf="${myconf} --enable-debug" FEATURES="${FEATURES} nostrip" fi # Using configure as econf does not set prefix correctly ./configure "${myconf}" emake || die "emake failed" } src_install() { make install "DESTDIR=${D}" dodoc BUGS CHANGES FAQ }