diff options
Diffstat (limited to 'x11-themes/gtk-engines-industrial/gtk-engines-industrial-0.2.36.ebuild')
-rw-r--r-- | x11-themes/gtk-engines-industrial/gtk-engines-industrial-0.2.36.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines-industrial/gtk-engines-industrial-0.2.36.ebuild b/x11-themes/gtk-engines-industrial/gtk-engines-industrial-0.2.36.ebuild new file mode 100644 index 000000000000..353331fb61ab --- /dev/null +++ b/x11-themes/gtk-engines-industrial/gtk-engines-industrial-0.2.36.ebuild @@ -0,0 +1,49 @@ +# 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-industrial/gtk-engines-industrial-0.2.36.ebuild,v 1.1 2005/08/03 11:31:27 leonardop Exp $ + +inherit eutils + +MY_PN="gtk-industrial-engine" +DESCRIPTION="GTK+ 1 Industrial theme engine" +HOMEPAGE="http://art.gnome.org/themes/gtk_engines/672" +SRC_URI="http://art.gnome.org/download/themes/gtk_engines/672/${MY_PN}_${PV}-2.tar.gz" +LICENSE="GPL-2" +SLOT="1" + +KEYWORDS="~x86" +IUSE="static" + +DEPEND="=x11-libs/gtk+-1.2*" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_unpack() { + unpack ${A} + cd ${S} + + # Only install the gtk1 engine + epatch ${FILESDIR}/${P}-gtk1_only.patch + + # Hack so it can find the required files + cp gtk-common/* gtk1-engine + + libtoolize --copy --force + aclocal || die "aclocal failed" + autoheader || die "autoheader failed" + automake --add-missing --gnu || die "automake failed" + autoconf || die "autoconf failed" +} + +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 ChangeLog README +} |