/[gentoo-x86]/dev-util/pkgconf/pkgconf-0.9.11.ebuild
Gentoo

Contents of /dev-util/pkgconf/pkgconf-0.9.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jul 13 06:35:27 2015 UTC (2 years, 3 months ago) by alonbl
Branch: MAIN
CVS Tags: HEAD
Version bump, handle comments correctly, bug#546092

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-0.9.8.ebuild,v 1.1 2015/03/14 18:42:23 jdhore Exp $
4
5 EAPI=5
6
7 if [[ ${PV} == "9999" ]] ; then
8 EGIT_REPO_URI="git://github.com/pkgconf/pkgconf.git"
9 inherit autotools git-2 multilib-minimal
10 else
11 inherit eutils multilib-minimal
12 SRC_URI="http://rabbit.dereferenced.org/~nenolod/distfiles/${P}.tar.bz2"
13 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
14 fi
15
16 DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
17 HOMEPAGE="https://github.com/pkgconf/pkgconf"
18
19 LICENSE="BSD-1"
20 SLOT="0"
21 IUSE="+pkg-config strict"
22
23 DEPEND=""
24 RDEPEND="${DEPEND}
25 pkg-config? (
26 !dev-util/pkgconfig
27 !dev-util/pkg-config-lite
28 !dev-util/pkgconfig-openbsd[pkg-config]
29 )"
30
31 MULTILIB_CHOST_TOOLS=(
32 /usr/bin/pkgconf
33 )
34
35 src_prepare() {
36 [[ -e configure ]] || eautoreconf
37
38 if use pkg-config; then
39 MULTILIB_CHOST_TOOLS+=(
40 /usr/bin/pkg-config
41 )
42 fi
43 }
44
45 multilib_src_configure() {
46 ECONF_SOURCE=${S} \
47 econf $(use_enable strict)
48 }
49
50 multilib_src_install() {
51 default
52 use pkg-config \
53 && dosym pkgconf /usr/bin/pkg-config \
54 || rm "${ED}"/usr/share/aclocal/pkg.m4 \
55 || die
56 }

  ViewVC Help
Powered by ViewVC 1.1.20