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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Mar 14 18:42:23 2015 UTC (3 years, 6 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.2.18/cvs/Linux i686, unsigned Manifest commit)

1 jdhore 1.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.6.ebuild,v 1.1 2014/08/28 04:27:21 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