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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Aug 26 17:30:54 2012 UTC (9 months, 3 weeks ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha122/cvs/Linux i686)

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.4.ebuild,v 1.4 2012/07/31 03:07:45 blueness Exp $
4
5 EAPI="4"
6
7 if [[ ${PV} == "9999" ]] ; then
8 EGIT_REPO_URI="git://github.com/nenolod/pkgconf.git"
9 inherit autotools git-2
10 else
11 #inherit autotools vcs-snapshot
12 inherit eutils
13 #SRC_URI="https://github.com/nenolod/pkgconf/tarball/${P} -> ${P}.tar.gz"
14 SRC_URI="http://nenolod.net/~nenolod/distfiles/${P}.tar.bz2"
15 KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
16 fi
17
18 DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
19 HOMEPAGE="https://github.com/nenolod/pkgconf"
20
21 LICENSE="BSD-1"
22 SLOT="0"
23 IUSE="+pkg-config strict"
24
25 DEPEND=""
26 RDEPEND="${DEPEND}
27 pkg-config? (
28 !dev-util/pkgconfig
29 !dev-util/pkg-config-lite
30 !dev-util/pkgconfig-openbsd[pkg-config]
31 )"
32
33 src_prepare() {
34 [[ -e configure ]] || AT_M4DIR="m4" eautoreconf
35 }
36
37 src_configure() {
38 econf $(use_enable strict)
39 }
40
41 src_compile() {
42 emake V=1
43 }
44
45 src_install() {
46 default
47 use pkg-config \
48 && dosym pkgconf /usr/bin/pkg-config \
49 || rm "${ED}"/usr/share/aclocal/pkg.m4 \
50 || die
51 }

  ViewVC Help
Powered by ViewVC 1.1.20