summaryrefslogtreecommitdiff
blob: e399bcd2f501c88dd4b5952eeed6e90ea47972f2 (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
# 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.2 2007/10/23 23:02:49 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="~x86"
IUSE=""
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"

S="${WORKDIR}/${P}"

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"
}