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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Oct 17 15:51:49 2012 UTC (21 months, 1 week ago) by ryao
Branch: MAIN
Changes since 1.11: +3 -4 lines
Bump pkgconf to 0.8.9

(Portage version: 2.1.11.9/cvs/Linux x86_64)

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-9999.ebuild,v 1.11 2012/10/17 15:26:53 ryao 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 SRC_URI="https://github.com/pkgconf/pkgconf/tarball/${P} -> ${P}.tar.gz"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
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 src_prepare() {
32 [[ -e configure ]] || eautoreconf
33 }
34
35 src_configure() {
36 econf $(use_enable strict)
37 }
38
39 src_install() {
40 default
41 use pkg-config \
42 && dosym pkgconf /usr/bin/pkg-config \
43 || rm "${ED}"/usr/share/aclocal/pkg.m4 \
44 || die
45 }

  ViewVC Help
Powered by ViewVC 1.1.20