Lines 1-9
Link Here
|
1 |
# Copyright 1999-2012 Gentoo Foundation |
1 |
# Copyright 1999-2013 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/libexif/libexif-0.6.21.ebuild,v 1.8 2012/11/07 19:03:58 grobian Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
inherit eutils libtool |
6 |
inherit autotools-multilib |
7 |
|
7 |
|
8 |
DESCRIPTION="Library for parsing, editing, and saving EXIF data" |
8 |
DESCRIPTION="Library for parsing, editing, and saving EXIF data" |
9 |
HOMEPAGE="http://libexif.sourceforge.net/" |
9 |
HOMEPAGE="http://libexif.sourceforge.net/" |
Lines 11-20
Link Here
|
11 |
|
11 |
|
12 |
LICENSE="LGPL-2.1" |
12 |
LICENSE="LGPL-2.1" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
14 |
KEYWORDS="~amd64" |
15 |
IUSE="doc nls static-libs" |
15 |
IUSE="doc nls static-libs" |
16 |
|
16 |
|
17 |
RDEPEND="nls? ( virtual/libintl )" |
17 |
RDEPEND=" |
|
|
18 |
nls? ( virtual/libintl ) |
19 |
amd64? ( |
20 |
abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) |
21 |
)" |
22 |
|
18 |
DEPEND="${RDEPEND} |
23 |
DEPEND="${RDEPEND} |
19 |
virtual/pkgconfig |
24 |
virtual/pkgconfig |
20 |
doc? ( app-doc/doxygen ) |
25 |
doc? ( app-doc/doxygen ) |
Lines 23-41
Link Here
|
23 |
src_prepare() { |
28 |
src_prepare() { |
24 |
epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch |
29 |
epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch |
25 |
sed -i -e '/FLAGS=/s:-g::' configure || die #390249 |
30 |
sed -i -e '/FLAGS=/s:-g::' configure || die #390249 |
26 |
elibtoolize # For *-bsd |
31 |
|
|
|
32 |
autotools-utils_src_prepare |
27 |
} |
33 |
} |
28 |
|
34 |
|
29 |
src_configure() { |
35 |
src_configure() { |
30 |
econf \ |
36 |
local myeconfargs=( |
31 |
$(use_enable static-libs static) \ |
37 |
$(use_enable static-libs static) |
32 |
$(use_enable nls) \ |
38 |
$(use_enable nls) |
33 |
$(use_enable doc docs) \ |
39 |
$(use_enable doc docs) |
34 |
--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} |
40 |
--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} |
|
|
41 |
) |
42 |
autotools-multilib_src_configure |
35 |
} |
43 |
} |
36 |
|
44 |
|
37 |
src_install() { |
45 |
src_install() { |
38 |
emake DESTDIR="${D}" install |
46 |
autotools-multilib_src_install |
39 |
prune_libtool_files |
47 |
|
40 |
rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} |
48 |
rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} |
41 |
} |
49 |
} |