blob: 45d730db1fa763ddee3142a7cd4a2d8cf29ae4f6 [file] [log] [blame]
################################################################################
#
# libsvg
#
################################################################################
LIBSVG_VERSION = 0.1.4
LIBSVG_SITE = http://cairographics.org/snapshots
LIBSVG_DEPENDENCIES = host-pkgconf libpng jpeg
LIBSVG_INSTALL_STAGING = YES
LIBSVG_LICENSE = LGPL-2.0+
LIBSVG_LICENSE_FILES = COPYING
# libsvg needs at last a XML parser
ifeq ($(BR2_PACKAGE_EXPAT),y)
LIBSVG_CONF_OPTS += --with-expat
LIBSVG_DEPENDENCIES += expat
else
LIBSVG_CONF_OPTS += --with-libxml2
LIBSVG_DEPENDENCIES += libxml2
endif
$(eval $(autotools-package))