File: kbfx.ebuild.in

package info (click to toggle)
kbfx 0.4.9.3.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,904 kB
  • ctags: 1,167
  • sloc: cpp: 8,759; sh: 333; makefile: 25
file content (31 lines) | stat: -rw-r--r-- 625 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header

inherit kde eutils
need-kde 3.3

MY_PN="${PN}-@VERSION@"
S="${WORKDIR}/${MY_PN}"

DESCRIPTION="KDE alternative K-Menu"
HOMEPAGE="http://www.kbfx.org/"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="@GENTOO_KEYWORDS@"
IUSE="strigi"

DEPEND=">=dev-util/cmake-2.4.2
	strigi? ( kde-misc/strigi )"

export DESTDIR=${D}

src_compile() {
	cd ${S}
	cmake \
		-DCMAKE_INSTALL_PREFIX:PATH=${KDEDIR} \
		-DUSE_STRIGI:BOOL=$( use strigi && echo ON || echo OFF ) \
	. || die
}