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

Diff of /dev-db/tinycdb/tinycdb-0.77-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/tinycdb-0.77-r2.ebuild,v 1.9 2014/09/28 09:29:47 hattya Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/tinycdb-0.77-r2.ebuild,v 1.10 2014/10/11 05:36:02 hattya Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7inherit eutils multilib toolchain-funcs 7inherit eutils multilib toolchain-funcs
8 8
28 28
29src_compile() { 29src_compile() {
30 local targets="shared" 30 local targets="shared"
31 use static-libs && targets+=" staticlib piclib" 31 use static-libs && targets+=" staticlib piclib"
32 32
33 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" ${targets} 33 emake \
34 CC="$(tc-getCC)" \
35 CFLAGS="${CFLAGS} ${LDFLAGS}" \
36 ${targets}
34} 37}
35 38
36src_install() { 39src_install() {
37 local targets="install-sharedlib" 40 local targets="install install-sharedlib"
38 use static-libs && targets+=" install-piclib" 41 use static-libs && targets+=" install-piclib"
39 42
40 emake DESTDIR="${D}" ${targets} 43 emake \
44 prefix="/usr" \
45 mandir="/usr/share/man" \
46 DESTDIR="${D}" \
47 ${targets}
41 dodoc ChangeLog NEWS 48 dodoc ChangeLog NEWS
42} 49}

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20