# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/darts/darts-0.1.ebuild,v 1.8 2005/12/29 21:04:38 halcy0n Exp $ DESCRIPTION="A C++ template library that implements Double-Array" HOMEPAGE="http://chasen.org/~taku/software/darts/" SRC_URI="http://chasen.org/~taku/software/darts/src/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="x86 amd64" IUSE="zlib" DEPEND="zlib? ( sys-libs/zlib )" src_compile() { econf `use_with zlib` || die emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die } src_install() { make DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog INSTALL NEWS README || die dohtml doc/* || die }