Lines 1-10
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2009 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/media-libs/babl/babl-0.0.22.ebuild,v 1.12 2009/07/06 21:56:22 jer Exp $ |
3 |
# $Header: $ |
|
|
4 |
|
5 |
EAPI="2" |
6 |
|
7 |
inherit eutils autotools |
4 |
|
8 |
|
5 |
DESCRIPTION="A dynamic, any to any, pixel format conversion library" |
9 |
DESCRIPTION="A dynamic, any to any, pixel format conversion library" |
6 |
HOMEPAGE="http://www.gegl.org/babl/" |
10 |
HOMEPAGE="http://www.gegl.org/babl/" |
7 |
SRC_URI="ftp://ftp.gtk.org/pub/${PN}/0.0/${P}.tar.bz2" |
11 |
SRC_URI="ftp://ftp.gtk.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
8 |
|
12 |
|
9 |
LICENSE="LGPL-3" |
13 |
LICENSE="LGPL-3" |
10 |
SLOT="0" |
14 |
SLOT="0" |
Lines 13-23
Link Here
|
13 |
|
17 |
|
14 |
DEPEND="virtual/libc" |
18 |
DEPEND="virtual/libc" |
15 |
|
19 |
|
16 |
src_compile() { |
20 |
src_prepare() { |
17 |
econf $(use_enable mmx) \ |
21 |
epatch "${FILESDIR}/${P}-build-fixes.patch" |
18 |
$(use_enable sse) \ |
22 |
eautoreconf |
19 |
|| die "econf failed" |
23 |
} |
20 |
emake || die "emake failed" |
24 |
|
|
|
25 |
src_configure() { |
26 |
econf \ |
27 |
$(use_enable mmx) \ |
28 |
$(use_enable sse) |
21 |
} |
29 |
} |
22 |
|
30 |
|
23 |
src_install() { |
31 |
src_install() { |