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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Dec 28 20:49:43 2009 UTC (9 years, 10 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Bump, remove old
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.36.ebuild,v 1.4 2009/11/06 14:02:00 jer 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 ~x86 ~x86-fbsd ~ppc-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 }
25
26 src_configure() {
27 econf $(use_enable debug)
28 }
29
30 src_install() {
31 emake DESTDIR="${D}" install || die "Install failed"
32
33 if use examples; then
34 dodoc example/* || die "Install failed"
35 fi
36
37 if use doc; then
38 dodoc doc/* || die "Install failed"
39 fi
40 }
41
42 src_test() {
43 emake -j1 check || die "Tests failed"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20