# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Spectrum emulation library" HOMEPAGE="http://www.srcf.ucam.org/~pak21/spectrum/libspectrum.html" SRC_URI="http://www.srcf.ucam.org/~pak21/spectrum/libspectrum-0.1.0.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" #RDEPEND="" S=${WORKDIR}/${P} src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" emake || die "libspectrum make failed!" } src_install() { make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die }