blob: e6fa2fc9a1cec49d6b90ed088f364534a1855e94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-0.0.22.ebuild,v 1.7 2009/01/31 09:11:00 mabi Exp $
inherit git
DESCRIPTION="A dynamic, any to any, pixel format conversion library"
HOMEPAGE="http://www.gegl.org/babl/"
SRC_URI=""
EGIT_REPO_URI="git://git.gnome.org/babl"
EGIT_BOOTSTRAP="./autogen.sh"
LICENSE="LGPL-3"
SLOT=""
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="sse mmx"
DEPEND="virtual/libc"
src_unpack(){
git_src_unpack
}
src_compile() {
econf $(use_enable mmx) \
$(use_enable sse) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
find "${D}" -name '*.la' -delete
# dodoc AUTHORS ChangeLog README NEWS || die "dodoc failed"
}
|