summaryrefslogtreecommitdiff
blob: 4bc1efa8cc1830e9d75f50be768bd8a4b2eda456 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-flat/gtk-engines-flat-0.1-r1.ebuild,v 1.3 2005/09/05 18:51:37 gustavoz Exp $

MY_PN="gtk-flat-theme"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Flat theme engine for GTK+ 1"
HOMEPAGE="http://themes.freshmeat.net/projects/flat/"
SRC_URI="http://download.freshmeat.net/themes/flat/flat-1.2.x.tar.gz"

KEYWORDS="~alpha ~amd64 ~hppa ~ppc sparc x86"
SLOT="1"
LICENSE="GPL-2"
IUSE="static"

DEPEND="=x11-libs/gtk+-1.2*"
S=${WORKDIR}/${MY_P}

src_compile() {
	local myconf="$(use_enable static)"

	econf $myconf || die "Configuration failed"
	emake || die "Compilation failed"
}

src_install() {
	make DESTDIR="${D}" install || die "Installation failed"

	dodoc AUTHORS README
}