# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Itzam/Core is a deliberately portable and concise C library for creating and manipulating keyed-access database files containing variable-length, random access records" HOMEPAGE="http://www.coyotegulch.com/products/itzam/index.html" SRC_URI="http://www.coyotegulch.com/distfiles/${PN}_core-${PV}.tar.bz2" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="test" DEPEND="" RDEPEND="" S="${WORKDIR}/${PN}_core-${PV}" src_test() { cd ${S}/test einfo "Begin tests..." ./${PN}_btree_test || die "btree failed" ./${PN}_data_test || die "data failed" ./${PN}_hash_test || die "hash failed" ./${PN}_matrix_test || die "matrix failed" einfo "End tests..." } src_install() { emake DESTDIR="${D}" install || die "install failed" dodoc AUTHORS CREDITS ChangeLog NEWS README LICENSE.* }