/[gentoo-x86]/net-libs/balde/balde-0.1.1.ebuild
Gentoo

Contents of /net-libs/balde/balde-0.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 10 20:48:00 2014 UTC (6 years, 3 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/balde/balde-0.1.1.ebuild,v 1.1 2014/05/18 21:52:47 rafaelmartins Exp $
4
5 EAPI=5
6
7 if [[ ${PV} = *9999* ]]; then
8 EGIT_REPO_URI="git://github.com/balde/balde.git
9 https://github.com/balde/balde.git"
10 inherit git-r3 autotools
11 fi
12
13 DESCRIPTION="A microframework for C based on GLib and bad intentions"
14 HOMEPAGE="http://balde.io/"
15
16 SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2"
17 KEYWORDS="~amd64 ~x86"
18 if [[ ${PV} = *9999* ]]; then
19 SRC_URI=""
20 KEYWORDS=""
21 fi
22
23 LICENSE="LGPL-2"
24 SLOT="0"
25 IUSE="doc test"
26
27 RDEPEND=">=dev-libs/glib-2.34
28 dev-libs/fcgi
29 x11-misc/shared-mime-info"
30
31 if [[ ${PV} = *9999* ]]; then
32 RDEPEND="${RDEPEND}
33 dev-util/peg"
34 fi
35
36 DEPEND="${RDEPEND}
37 doc? ( app-doc/doxygen )"
38
39 src_prepare() {
40 [[ ${PV} = *9999* ]] && eautoreconf
41 default
42 }
43
44 src_configure() {
45 econf \
46 $(use_with doc doxygen) \
47 --disable-examples \
48 --without-valgrind
49 }
50
51 src_compile() {
52 default
53 use doc && emake doxygen
54 }
55
56 src_install() {
57 default
58 use doc && dohtml -r doc/build/html/.
59 }

  ViewVC Help
Powered by ViewVC 1.1.20