Line
Link Here
|
0 |
-- exiftags-1.01.ebuild |
0 |
++ exiftags-1.01.ebuild |
Lines 1-7
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2011 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-gfx/exiftags/exiftags-1.01.ebuild,v 1.6 2010/01/07 22:05:34 fauli Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiftags/exiftags-1.01.ebuild,v 1.6 2010/01/07 22:05:34 fauli Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=4 |
6 |
|
5 |
inherit toolchain-funcs |
7 |
inherit toolchain-funcs |
6 |
|
8 |
|
7 |
DESCRIPTION="Extracts JPEG EXIF headers from digital camera photos" |
9 |
DESCRIPTION="Extracts JPEG EXIF headers from digital camera photos" |
Lines 15-26
Link Here
|
15 |
|
17 |
|
16 |
DEPEND="" |
18 |
DEPEND="" |
17 |
|
19 |
|
|
|
20 |
src_prepare() { |
21 |
sed -i -e "s/\$(CC)/\$(CC) \$(LDFLAGS)/" Makefile \ |
22 |
|| die "Makefile sed failed" |
23 |
} |
24 |
|
18 |
src_compile() { |
25 |
src_compile() { |
19 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed." |
26 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
20 |
} |
27 |
} |
21 |
|
28 |
|
22 |
src_install() { |
29 |
src_install() { |
23 |
dobin exiftags exifcom exiftime || die "dobin failed." |
30 |
dobin exiftags exifcom exiftime |
24 |
doman exiftags.1 exifcom.1 exiftime.1 |
31 |
doman exiftags.1 exifcom.1 exiftime.1 |
25 |
dodoc README CHANGES |
32 |
dodoc README CHANGES |
26 |
} |
33 |
} |