aboutsummaryrefslogtreecommitdiff
path: root/package/libsvg/libsvg.mk
blob: 320d4f0bbaf3c7429d5e8519787a583b41a25b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# libsvg
#
################################################################################

LIBSVG_VERSION         = 0.1.4
LIBSVG_SITE            = http://cairographics.org/snapshots
LIBSVG_DEPENDENCIES    = host-pkgconf libpng libjpeg
LIBSVG_INSTALL_STAGING = YES
LIBSVG_LICENSE         = LGPLv2+
LIBSVG_LICENSE_FILES   = COPYING

# libsvg needs at last a XML parser
ifeq ($(BR2_PACKAGE_EXPAT),y)
LIBSVG_CONF_OPT += --with-expat
LIBSVG_DEPENDENCIES += expat
else
LIBSVG_CONF_OPT += --with-libxml2
LIBSVG_DEPENDENCIES += libxml2
endif

$(eval $(autotools-package))