# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="The SRecord package is a collection of powerful tools for manipulating EPROM load files." HOMEPAGE="http://srecord.sourceforge.net/" SRC_URI="http://srecord.sourceforge.net/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86 ~amd64 ~sparc" IUSE="" DEPEND="" RDEPEND="test? ( app-arch/sharutils )" # # Without the '-j1' option, you may get 'waiting for unfinished jobs' from make # because the last step of compilation involves linking a large number of object # files. # src_compile() { econf --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || die "configure failed..." emake -j1 || die "Error: emake failed!" } # # Needed to override the 'prefix' and 'mandir' variables in order to avoid # sandbox errors. # src_install() { make prefix=${D}/usr mandir=${D}/usr/share/man install || die } src_test() { make sure || die }