blob: 376fbf0b0874685ded54add7aeb57f7d95451e6c (
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
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="The Enlightenment dbus binding library."
HOMEPAGE="http://enlightenment.org"
SRC_URI="http://download.enlightenment.org/snapshots/2008-09-25/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~x86 ~amd64"
IUSE="hal"
inherit autotools
RDEPEND=""
DEPEND=">=dev-util/pkgconfig-0.9.0"
src_unpack() {
# Fetch and unpack the source files
unpack ${A}
cd "${S}"
# Fix missing LD flag to libedus in src/bin/Makefile.am
epatch "${FILESDIR}/${P}-e_notify_send-Makefile.patch"
# We have to renew the automake/autoconf scripts because we
# modified the Makefile.am above.
eautoreconf || die "autoreconf failed"
}
src_compile() {
local myconf
myconf="${myconf}
$(use_enable hal ehal)"
econf ${myconf} || die "Configuration failed"
emake || die "Make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Installation failed"
dodoc AUTHORS NEWS README
}
|