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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2012 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-r1.ebuild,v 1.6 2012/05/06 17:38:52 armin76 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="static-libs"
17 RESTRICT="test"
18
19 RDEPEND="!dev-db/cdb"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-gentoo.diff
23 # fix multilib support
24 sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
25 }
26
27 src_compile() {
28 local targets="shared"
29 use static-libs && targets="${targets} staticlib piclib"
30
31 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" ${targets}
32 }
33
34 src_install() {
35 local targets="install-sharedlib"
36 use static-libs && targets="${targets} install-piclib"
37
38 einstall ${targets}
39 dodoc ChangeLog NEWS
40 }

  ViewVC Help
Powered by ViewVC 1.1.20