Created
April 23, 2009 15:14
-
-
Save matsuu/100541 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2009 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: $ | |
DESCRIPTION="A high performance database library similar to the DBM family" | |
HOMEPAGE="http://sourceforge.net/projects/tokyocabinet/" | |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" | |
LICENSE="LGPL-2.1" | |
SLOT="0" | |
KEYWORDS="~amd64 ~x86" | |
IUSE="bzip2 lzma lzo threads zlib" | |
DEPEND="bzip2? ( app-arch/bzip2 ) | |
lzma? ( app-arch/lzma ) | |
lzo? ( dev-libs/lzo ) | |
zlib? ( sys-libs/zlib )" | |
RDEPEND="${DEPEND}" | |
src_compile() { | |
econf \ | |
$(use_enable bzip2 bzip) \ | |
$(use_enable lzma exlzma) \ | |
$(use_enable lzo exlzo) \ | |
$(use_enable threads pthread) \ | |
$(use_enable zlib) || die | |
emake || die | |
} | |
src_install() { | |
emake DESTDIR="${D}" install || die "emake install failed" | |
dodoc ChangeLog README THANKS || die | |
dohtml doc/* || die | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment