/[gentoo-x86]/dev-db/tokyocabinet/tokyocabinet-1.4.43.ebuild
Gentoo

Contents of /dev-db/tokyocabinet/tokyocabinet-1.4.43.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 2 10:55:17 2010 UTC (9 years, 5 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bump, fixes #321171, thanks to Johan Bergstroem
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/tokyocabinet-1.4.43.ebuild,v 1.1 2010/03/17 21:25:37 patrick Exp $
4
5 EAPI=2
6
7 inherit eutils
8
9 DESCRIPTION="A library of routines for managing a database"
10 HOMEPAGE="http://1978th.net/tokyocabinet/"
11 SRC_URI="${HOMEPAGE}${P}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
16 IUSE="debug doc examples"
17
18 DEPEND="sys-libs/zlib
19 app-arch/bzip2"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 epatch "${FILESDIR}/fix_rpath.patch"
24 epatch "${FILESDIR}/${PV}.patch"
25 }
26
27 src_configure() {
28 econf $(use_enable debug)
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "Install failed"
33
34 if use examples; then
35 dodoc example/* || die "Install failed"
36 fi
37
38 if use doc; then
39 dodoc doc/* || die "Install failed"
40 fi
41 }
42
43 src_test() {
44 emake -j1 check || die "Tests failed"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20