aboutsummaryrefslogtreecommitdiff
blob: f35d1d524b6f50c16f71655985d3eec812fdbdd8 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools eutils subversion

ESVN_REPO_URI="http://svn.enlightenment.org/svn/e/trunk$SVN_SUBDIR/${PN}"
ESVN_REVISION="r39002"

E17_PATCHES="${E17_PATCHES:=}"


enlightenment_src_unpack() {
        subversion_src_unpack

        cd "${S}"

	# Applying all user specified patches
	for patch in ${E17_PATCHES}; do
	    epatch "${FILESDIR}/${patch}"
	done

        eautoreconf || die "eautoreconf failed"
}

enlightenment_src_compile() {

        econf || die "econf failed"

        emake || die "emake failed"
}

enlightenment_src_install () {
        emake DESTDIR="${D}" install || die "emake install failed"
        dodoc AUTHORS NEWS README

}

EXPORT_FUNCTIONS src_unpack src_compile src_install