1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Fast Artificial Neural Network Library"
10 HOMEPAGE="http://leenissen.dk/fann/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
15 KEYWORDS="~amd64 ~ppc ~x86"
19 DEPEND="app-arch/unzip"
21 S="${WORKDIR}/${MY_P}"
23 PATCHES=( "${FILESDIR}/${P}-examples.patch" )
27 emake CFLAGS="${CFLAGS} -I../src/include -L${BUILD_DIR}/src"
28 LD_LIBRARY_PATH="${BUILD_DIR}/src" emake runtest
33 cmake-multilib_src_install
35 insinto /usr/share/doc/${PF}