blob: 2398ba03152e842449254e8484b1353429249000 (
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
40
41
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/smooth-themes/smooth-themes-0.5.8.ebuild,v 1.5 2006/01/13 18:28:25 gustavoz Exp $
inherit eutils
DESCRIPTION="A clean set of GTK+ themes based on the Smooth engine"
HOMEPAGE="http://sourceforge.net/projects/smooth-engine/"
SRC_URI="mirror://sourceforge/smooth-engine/${P}.tar.gz"
KEYWORDS="~ppc ~sparc x86"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="gtk2"
# This package installs both GTK+1 and GTK+2 themes, and tries to set the
# correct runtime dependencies according to the 'gtk2' USE flag. It is a poor
# way to handle the dependencies and themes to install, but it is pretty much
# the best alternative at the moment.
DEPEND=""
RDEPEND="gtk2? ( >=x11-themes/gtk-engines-2 )
!gtk2? ( x11-themes/gtk-engines-smooth )"
src_unpack() {
unpack ${A}
cd ${S}
# Remove unnecessary checks in the configure script
epatch ${FILESDIR}/${P}-remove_checks.patch
export WANT_AUTOMAKE=1.8
aclocal || die "aclocal failed"
autoconf || die "autoconf failed"
automake || die "automake failed"
}
src_install() {
make DESTDIR="${D}" install || die "Installation failed"
dodoc AUTHORS ChangeLog NEWS README
}
|