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

DESCRIPTION="The Enlightenment eet 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="ssl"

RDEPEND="sys-libs/zlib
	 media-libs/jpeg
	 ssl? ( dev-libs/openssl )"

DEPEND=">=dev-util/pkgconfig-0.9.0"

src_compile() {
	local myconf

	myconf="${myconf} \
		$(use_enable ssl openssl)
		--disable-signature
		--disable-old-eet-file-format"

        econf ${myconf} || die "Configuration failed"
        emake || die "Make failed"
}

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