/[gentoo-x86]/net-misc/leechcraft-core/leechcraft-core-0.5.80.ebuild
Gentoo

Contents of /net-misc/leechcraft-core/leechcraft-core-0.5.80.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Sep 3 12:06:00 2012 UTC (22 months, 1 week ago) by pinkbyte
Branch: MAIN
Changes since 1.2: +2 -2 lines
Fix bug #431436 with mycmakeargs not handled properly

(Portage version: 2.2.0_alpha123/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/net-misc/leechcraft-core/leechcraft-core-0.5.80.ebuild,v 1.2 2012/08/14 21:19:05 maksbotan Exp $
4
5 EAPI="4"
6
7 EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git"
8 EGIT_PROJECT="leechcraft-${PV}"
9
10 inherit eutils confutils leechcraft
11
12 DESCRIPTION="Core of LeechCraft, the modular network client"
13
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="debug +sqlite postgres"
17
18 DEPEND=">=dev-libs/boost-1.46
19 x11-libs/qt-core:4
20 x11-libs/qt-gui:4
21 x11-libs/qt-script:4
22 x11-libs/qt-sql:4[postgres?,sqlite?]"
23 RDEPEND="${DEPEND}
24 x11-libs/qt-svg:4"
25
26 REQUIRED_USE="|| ( postgres sqlite )"
27
28 src_configure() {
29 local mycmakeargs=(
30 -DWITH_PLUGINS=False
31 )
32 if [[ ${PV} != 9999 ]]; then
33 mycmakeargs+=( -DLEECHCRAFT_VERSION=${PV} )
34 fi
35 cmake-utils_src_configure
36 }
37
38 src_install() {
39 cmake-utils_src_install
40 make_desktop_entry leechcraft "LeechCraft" leechcraft.png
41 }

  ViewVC Help
Powered by ViewVC 1.1.20