inherit eutils SRC_URI="http://www.cis.hut.fi/research/${PN}/${P}.tar" SLOT="0" LICENSE="free-noncomm" KEYWORDS="~x86" DESCRIPTION="The Self-Organizing Map Program Package" HOMEPAGE="http://www.cis.hut.fi/research/som-research/nnrc-programs.shtml" IUSE="" src_unpack() { unpack ${A} epatch ${FILESDIR}/${P}_makefile_qa.diff } src_compile() { emake -f makefile.unix } src_test() { # is this really a "test"? emake -f makefile.unix example || die } src_install() { dobin lininit mapinit planes qerror randinit sammon umat vcal vfind visual vsom }