Lines 1-8
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-mist/gtk-engines-mist-0.10-r2.ebuild,v 1.9 2006/02/02 17:18:30 blubb Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
WANT_AUTOMAKE="1.6" |
|
|
6 |
WANT_AUTOCONF="latest" |
7 |
|
8 |
inherit eutils autotools |
6 |
|
9 |
|
7 |
MY_PN="gtk-mist-engine" |
10 |
MY_PN="gtk-mist-engine" |
8 |
MY_P=${MY_PN}-${PV} |
11 |
MY_P=${MY_PN}-${PV} |
Lines 21-43
Link Here
|
21 |
|
24 |
|
22 |
src_unpack() { |
25 |
src_unpack() { |
23 |
unpack ${A} |
26 |
unpack ${A} |
24 |
cd ${S} |
27 |
cd "${S}" |
25 |
|
28 |
|
26 |
# patch that adds --[enable|disable]-gtk-[1|2] - liquidx@g.o (04 Oct 03) |
29 |
# patch that adds --[enable|disable]-gtk-[1|2] - liquidx@g.o (04 Oct 03) |
27 |
epatch ${FILESDIR}/${P}-autoconf.patch |
30 |
epatch "${FILESDIR}"/${P}-autoconf.patch |
28 |
|
31 |
eautoreconf |
29 |
export WANT_AUTOMAKE=1.6 |
|
|
30 |
aclocal || die "aclocal failed" |
31 |
autoconf || die "autoconf failed" |
32 |
automake || die "automake failed" |
33 |
libtoolize --copy --force |
34 |
} |
32 |
} |
35 |
|
33 |
|
36 |
src_compile() { |
34 |
src_compile() { |
37 |
local myconf="--enable-gtk-1 --disable-gtk-2 $(use_enable static)" |
35 |
local myconf="--enable-gtk-1 --disable-gtk-2 $(use_enable static)" |
38 |
|
36 |
|
39 |
econf ${myconf} || die "configure failed" |
37 |
econf ${myconf} || die "econf failed" |
40 |
emake || die "make failed" |
38 |
emake || die "emake failed" |
41 |
} |
39 |
} |
42 |
|
40 |
|
43 |
src_install() { |
41 |
src_install() { |