diff options
Diffstat (limited to 'dev-libs/darts/darts-0.32.ebuild')
-rw-r--r-- | dev-libs/darts/darts-0.32.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/darts/darts-0.32.ebuild b/dev-libs/darts/darts-0.32.ebuild new file mode 100644 index 000000000000..f30dd5481286 --- /dev/null +++ b/dev-libs/darts/darts-0.32.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="|| ( BSD LGPL-2.1 )" +SLOT="0" +KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="zlib" +DEPEND="zlib? ( sys-libs/zlib )" + +src_compile() { + econf `use_with zlib` || die + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README || die + dohtml doc/* || die +} |