1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit multilib toolchain-funcs
7 MY_P
="${P/gtk-engines-qtcurve/QtCurve-Gtk2}"
9 DESCRIPTION
="A set of widget styles for Gtk2 based apps, also available for Qt4 and KDE"
10 HOMEPAGE
="http://www.kde-look.org/content/show.php?content=40492"
11 SRC_URI
="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2"
16 KEYWORDS
="~amd64 ~x86"
19 DEPEND
=">=dev-util/cmake-2.4.0
23 S
="${WORKDIR}/${MY_P}"
26 local mycmakeargs
="-DQTC_ADD_EVENT_FILTER=true"
27 use mozilla
&& mycmakeargs
="${mycmakeargs} -DQTC_MODIFY_MOZILLA=true"
29 local libdir
=$
(get_libdir
)
30 mkdir
"${S}"/build
&& cd "${S}"/build || die
"mkdir failed"
31 cmake
-DCMAKE_C_COMPILER=$
(type -P $
(tc-getCC
)) \
32 -DCMAKE_CXX_COMPILER=$
(type -P $
(tc-getCXX
)) \
33 -DCMAKE_INSTALL_PREFIX=${PREFIX:-/usr} \
34 -DLIB_SUFFIX=${libdir/lib} \
38 emake || die
"emake failed"
43 emake DESTDIR
="${D}" install || die
"emake install failed"
46 dodoc AUTHORS ChangeLog README TODO