blob: 19f8761f406eae81d8e13453d5ead52e9f47bc4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/tinycdb-0.76.ebuild,v 1.4 2007/09/09 12:26:52 hattya Exp $
inherit eutils
IUSE=""
DESCRIPTION="TinyCDB is a very fast and simple package for creating and reading constant data bases"
HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html"
SRC_URI="http://www.corpit.ru/mjt/${PN}/${P/-/_}.tar.gz"
LICENSE="public-domain"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc x86"
SLOT="0"
DEPEND="!dev-db/cdb
!dev-db/freecdb"
src_compile() {
emake staticlib sharedlib piclib cdb-shared || die
}
src_test() {
if use ia64; then
einfo "\"Handling file size limits\" fails on ia64, skipped..."
return
fi
emake -j1 check check-shared || die
}
src_install() {
mv -f cdb-shared cdb
einstall install-sharedlib install-piclib || die
dodoc NEWS
}
|