/[gentoo-x86]/dev-db/tinycdb/tinycdb-0.77.ebuild
Gentoo

Contents of /dev-db/tinycdb/tinycdb-0.77.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Jun 16 02:44:42 2012 UTC (11 months ago) by hattya
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
cleaned out old ebuild(s).

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/tinycdb-0.77.ebuild,v 1.7 2011/08/13 12:19:01 hattya Exp $
4
5 EAPI="4"
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="TinyCDB is a very fast and simple package for creating and reading constant data bases"
10 HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html"
11 SRC_URI="http://www.corpit.ru/mjt/${PN}/${P/-/_}.tar.gz"
12
13 LICENSE="public-domain"
14 SLOT="0"
15 KEYWORDS="amd64 hppa ia64 ppc x86"
16 IUSE=""
17 RESTRICT="test"
18
19 RDEPEND="!dev-db/cdb"
20
21 src_prepare() {
22 # fix multilib support
23 sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
24 }
25
26 src_compile() {
27 emake \
28 CC="$(tc-getCC)" \
29 CFLAGS="${CFLAGS} ${LDFLAGS}" \
30 staticlib \
31 sharedlib \
32 piclib \
33 cdb-shared
34 mv -f cdb-shared cdb
35 }
36
37 src_install() {
38 einstall install-sharedlib install-piclib
39 dodoc NEWS
40 }

  ViewVC Help
Powered by ViewVC 1.1.13