| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/dbuskit/dbuskit-0.1.ebuild,v 1.6 2012/04/07 14:49:56 maekke Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit autotools gnustep-2
|
| 7 |
|
| 8 |
DESCRIPTION="framework that interfaces Objective-C applications with the D-Bus IPC service"
|
| 9 |
HOMEPAGE="http://www.gnustep.org"
|
| 10 |
SRC_URI="http://download.gna.org/gnustep/${P}.tar.bz2"
|
| 11 |
|
| 12 |
LICENSE="LGPL-2.1"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="amd64 ppc x86"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
DEPEND=">=sys-apps/dbus-1.2.1"
|
| 18 |
RDEPEND="${DEPEND}"
|
| 19 |
|
| 20 |
src_prepare() {
|
| 21 |
epatch "${FILESDIR}"/${P}-configure.patch
|
| 22 |
# Bug 410697
|
| 23 |
sed -e "s#ObjectiveC2/runtime.h#ObjectiveC2/objc/runtime.h#" \
|
| 24 |
-i configure.ac || die "ObjectiveC2 runtime sed failed"
|
| 25 |
if ! use doc; then
|
| 26 |
# Remove doc target
|
| 27 |
sed -i -e "/SUBPROJECTS/s/Documentation//" GNUmakefile \
|
| 28 |
|| die "doc sed failed"
|
| 29 |
fi
|
| 30 |
|
| 31 |
eautoreconf
|
| 32 |
}
|