summaryrefslogtreecommitdiff
path: root/packages/graphics/exiv2/exiv2-0.17.1.exheres-0
blob: 9de956e821230fdb3871c7464cda7954f5070f7a (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
38
39
40
41
42
43
44
45
# Copyright 2008 Bernd Steinhauser <berniyh@exherbo.org>
# Distributed under the terms of the GNU General Public License v2


SUMMARY="Exiv2 is a C++ library and a command line utility to manage image metadata."
HOMEPAGE="http://www.exiv2.org"
DOWNLOADS="http://www.exiv2.org/exiv2-0.17.1.tar.gz"

LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="doc nls png xmp"

DEPENDENCIES="
    build:
        dev-util/pkg-config
        doc? (
            app-doc/doxygen
            media-gfx/graphviz
            dev-lang/python
            fixme/xsltproc
        )
    build+run:
        nls? ( sys-devel/gettext )
        png? ( sys-libs/zlib )
        xmp? ( dev-libs/expat )"

DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( nls "png zlib" xmp )

src_compile() {
    default

    if option doc; then
        emake doc
    fi
}

src_install() {
    default

    if option doc; then
        insinto /usr/share/doc/${PNVR}/html
        doins -r "${WORK}"/doc/html/*
    fi
}