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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download)
Tue Jan 1 19:04:33 2013 UTC (5 years, 6 months ago) by armin76
Branch: MAIN
Changes since 1.11: +3 -3 lines
m68k/s390/sh stable wrt #443788

(Portage version: 2.1.11.38/cvs/Linux ia64, signed Manifest commit with key F6AD3240)

1 armin76 1.12 # Copyright 1999-2013 Gentoo Foundation
2 ryao 1.1 # Distributed under the terms of the GNU General Public License v2
3 armin76 1.12 # $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-0.8.9.ebuild,v 1.11 2012/12/30 15:02:59 ago Exp $
4 ryao 1.1
5     EAPI="4"
6    
7     if [[ ${PV} == "9999" ]] ; then
8     EGIT_REPO_URI="git://github.com/pkgconf/pkgconf.git"
9     inherit autotools git-2
10     else
11     inherit autotools vcs-snapshot
12     inherit eutils
13     SRC_URI="https://github.com/pkgconf/pkgconf/tarball/${P} -> ${P}.tar.gz"
14 armin76 1.12 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris"
15 ryao 1.1 fi
16    
17     DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
18     HOMEPAGE="https://github.com/pkgconf/pkgconf"
19    
20     LICENSE="BSD-1"
21     SLOT="0"
22     IUSE="+pkg-config strict"
23    
24     DEPEND=""
25     RDEPEND="${DEPEND}
26     pkg-config? (
27     !dev-util/pkgconfig
28     !dev-util/pkg-config-lite
29     !dev-util/pkgconfig-openbsd[pkg-config]
30     )"
31    
32     src_prepare() {
33     [[ -e configure ]] || eautoreconf
34     }
35    
36     src_configure() {
37     econf $(use_enable strict)
38     }
39    
40     src_install() {
41     default
42     use pkg-config \
43     && dosym pkgconf /usr/bin/pkg-config \
44     || rm "${ED}"/usr/share/aclocal/pkg.m4 \
45     || die
46     }

  ViewVC Help
Powered by ViewVC 1.1.20