# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-themes/polymer/polymer-0.3.2.ebuild,v 1.9 2008/07/28 21:57:49 carlo Exp $ EAPI=1 inherit qt3 DESCRIPTION="The KDE plastik theme ported to Qt" HOMEPAGE="http://static.int.pl/~mig21/dev/releases/polymer/" SRC_URI="http://static.int.pl/~mig21/dev/releases/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 sparc x86" IUSE="mmx sse2" DEPEND="x11-libs/qt:3" src_compile() { local myconf # Have to use this syntax for enabling as configure is a little broken use mmx && myconf="--enable-mmx" use sse2 && myconf="${myconf} --enable-sse2" econf ${myconf} || die "econf failed." emake || die "emake failed." } src_install() { dobin config/polymer-config insopts -m0755 insinto "${QTDIR}"/plugins/styles doins style/libpolymer* dodoc AUTHORS ChangeLog README TODO }