c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
649 B
Makefile
24 lines
649 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|