/[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.8 - (show annotations) (download)
Sun Dec 9 18:27:22 2012 UTC (6 years ago) by ago
Branch: MAIN
Changes since 1.7: +2 -2 lines
Stable for ppc64, wrt bug #443788

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

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-util/pkgconf/pkgconf-0.8.9.ebuild,v 1.7 2012/12/02 10:43:44 maekke Exp $
4
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 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 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