2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-07-05 11:01:55 +02:00
|
|
|
#
|
|
|
|
# libsvgtiny
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-07-05 11:01:55 +02:00
|
|
|
|
|
|
|
LIBSVGTINY_SITE = svn://svn.netsurf-browser.org/trunk/libsvgtiny
|
2011-09-12 13:56:33 +02:00
|
|
|
LIBSVGTINY_VERSION = 12121
|
2010-07-05 11:01:55 +02:00
|
|
|
LIBSVGTINY_INSTALL_STAGING = YES
|
2012-10-22 17:47:52 +02:00
|
|
|
LIBSVGTINY_DEPENDENCIES = libxml2 host-gperf host-pkgconf
|
2010-07-05 11:01:55 +02:00
|
|
|
|
|
|
|
define LIBSVGTINY_BUILD_CMDS
|
2010-07-08 10:24:57 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=/usr
|
2010-07-05 11:01:55 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define LIBSVGTINY_INSTALL_STAGING_CMDS
|
2010-07-08 10:24:57 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2010-07-06 16:37:12 +02:00
|
|
|
$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) install
|
2010-07-05 11:01:55 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define LIBSVGTINY_UNINSTALL_STAGING_CMDS
|
2010-07-08 10:24:57 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2010-07-06 16:37:12 +02:00
|
|
|
$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall
|
2010-07-05 11:01:55 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define LIBSVGTINY_INSTALL_TARGET_CMDS
|
2010-07-08 10:24:57 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2010-07-06 16:37:12 +02:00
|
|
|
$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install
|
2010-07-05 11:01:55 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define LIBSVGTINY_UNINSTALL_TARGET_CMDS
|
2010-07-08 10:24:57 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2010-07-06 16:37:12 +02:00
|
|
|
$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall
|
2010-07-05 11:01:55 +02:00
|
|
|
endef
|
|
|
|
|
2010-07-06 17:27:03 +02:00
|
|
|
define LIBSVGTINY_CLEAN_CMDS
|
2010-07-08 10:24:57 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) clean
|
2010-07-05 11:01:55 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|