summaryrefslogtreecommitdiff
path: root/packages/media-libs/plotutils/plotutils-2.6-r2.exheres-0
blob: 175df93b4570ea74a7a79a16491db6916671a655 (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
# Copyright 2009 Ingmar Vanhassel
# Distributed under the terms of the GNU General Public License v2

require gnu [ suffix=tar.gz ]

SUMMARY="A powerful C/C++ function library for exporting 2-D vector graphics"

LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""

DEPENDENCIES="
    build+run:
        media-libs/libpng:=
"

DEFAULT_SRC_PREPARE_PATCHES=(
    "${FILES}"/${PNV}-rangecheck.patch
    "${FILES}"/${PNV}-libpng-1.5.patch
)
DEFAULT_SRC_CONFIGURE_PARAMS=(
    --enable-libplotter
    --with-libpng

    # Specifying --disable-xmi strangely enables it. Rely on the
    # default behaviour which is to disable it.
    #--disable-libxmi
    --without-x
    --without-athena
    --without-motif
    --without-xpm
)
DEFAULT_SRC_INSTALL_PARAMS=(
    # install-exec-hook tries to remove old executables, libraries from /, triggering sandbox violations
    # install-data-hook, old docs
    OBSOLETEBINS=""
    OBSOLETELIBS=""
    OBSOLETEDOC=""
)