blob: 30f17995c4777c78fdaa884181ce6490ebcb4f32 (
plain)
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
32
33
34
35
36
37
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/qconf/qconf-1.5_pre717.ebuild,v 1.10 2010/07/11 15:04:04 armin76 Exp $
EAPI="2"
inherit multilib
DESCRIPTION="./configure like generator for qmake-based projects"
HOMEPAGE="http://delta.affinix.com/qconf/"
SRC_URI="http://delta.affinix.com/download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm hppa ppc ~ppc64 sparc x86 ~x86-fbsd"
IUSE=""
DEPEND="x11-libs/qt-core"
RDEPEND="${DEPEND}"
src_configure() {
# Fake ./configure. Fails on unknown options
./configure \
--prefix=/usr/ \
--qtdir=/usr/$(get_libdir)/ || die "./configure failed"
[ ! -f Makefile ] && die "./configure failed"
}
src_install() {
dobin qconf || die
dodoc README TODO || die
insinto /usr/share/${PN}
doins -r conf modules
insinto /usr/share/doc/${PF}/examples
doins examples/*
}
|