300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
18 lines
579 B
Makefile
18 lines
579 B
Makefile
#############################################################
|
|
#
|
|
# librsvg
|
|
#
|
|
#############################################################
|
|
|
|
LIBRSVG_VERSION_MAJOR:=2.26
|
|
LIBRSVG_VERSION_MINOR:=3
|
|
LIBRSVG_VERSION:=$(LIBRSVG_VERSION_MAJOR).$(LIBRSVG_VERSION_MINOR)
|
|
LIBRSVG_SOURCE:=librsvg-$(LIBRSVG_VERSION).tar.gz
|
|
LIBRSVG_SITE:=http://ftp.gnome.org/pub/GNOME/sources/librsvg/$(LIBRSVG_VERSION_MAJOR)/
|
|
LIBRSVG_INSTALL_STAGING = YES
|
|
LIBRSVG_INSTALL_TARGET = YES
|
|
LIBRSVG_CONF_OPT = --disable-tools
|
|
LIBRSVG_DEPENDENCIES = libxml2 cairo pango libglib2 libgtk2
|
|
|
|
$(eval $(call AUTOTARGETS))
|