summaryrefslogtreecommitdiff
blob: 7e9513ab11d60551b1f1a06a4e083396b8b0c944 (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Canon raw image (CRW) information and thumbnail extractor"
HOMEPAGE="http://freshmeat.net/projects/crwinfo/"
SRC_URI="http://neuemuenze.heim1.tu-clausthal.de/~sven/crwinfo/CRWInfo-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86"

S="${WORKDIR}/CRWInfo-${PV}"

PATCHES=( "${FILESDIR}"/${P}.patch )

src_compile() {
	tc-export CC
	emake crwinfo
}

src_install() {
	dobin crwinfo
	dodoc README spec
}