summaryrefslogtreecommitdiff
blob: 039eadf662f10502af41f5be383438e326de00cb (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-fusion-plugins-main/compiz-fusion-plugins-main-0.6.0.ebuild,v 1.7 2007/10/31 00:26:38 hanno Exp $

DESCRIPTION="Compiz Fusion main plugins"
HOMEPAGE="http://compiz-fusion.org"
SRC_URI="http://releases.compiz-fusion.org/${PV}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="jpeg"
RESTRICT="test"

DEPEND=">=x11-wm/compiz-0.6.0
	jpeg? ( media-libs/jpeg )
	>=gnome-base/librsvg-2.14.0
	>=x11-libs/compiz-bcop-0.6.0
	>=sys-devel/gettext-0.15
	>=dev-libs/libxml2-2.6.30"

src_compile() {
	econf $(use_enable jpeg) || die "econf failed"
	emake || die "make failed"
}

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