From 94962bf597920eb3b9a29c4c20001278c6f536f5 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 6 Jul 2010 16:24:12 +0200 Subject: libsvgtiny: needs gperf on the host And fix the .mk file name while we're at it. Signed-off-by: Peter Korsgaard --- package/libsvgtiny/libsvgtiny.mk | 47 ++++++++++++++++++++++++++++++++++++++++ package/libsvgtiny/libsvtiny.mk | 47 ---------------------------------------- 2 files changed, 47 insertions(+), 47 deletions(-) create mode 100644 package/libsvgtiny/libsvgtiny.mk delete mode 100644 package/libsvgtiny/libsvtiny.mk (limited to 'package/libsvgtiny') diff --git a/package/libsvgtiny/libsvgtiny.mk b/package/libsvgtiny/libsvgtiny.mk new file mode 100644 index 000000000..ca0d2c900 --- /dev/null +++ b/package/libsvgtiny/libsvgtiny.mk @@ -0,0 +1,47 @@ +############################################################ +# +# libsvgtiny +# +############################################################ + +LIBSVGTINY_SITE = svn://svn.netsurf-browser.org/trunk/libsvgtiny +LIBSVGTINY_VERSION = 9800 +LIBSVGTINY_SVNDIR = libsvgtiny-svn-r$(LIBSVGTINY_VERSION) +LIBSVGTINY_SOURCE = $(LIBSVGTINY_SVNDIR).tar.bz2 +LIBSVGTINY_INSTALL_STAGING = YES +LIBSVGTINY_INSTALL_TARGET = YES +LIBSVGTINY_DEPENDENCIES = libxml2 host-gperf + +$(DL_DIR)/$(LIBSVGTINY_SOURCE): + $(SVN_CO) -r $(LIBSVGTINY_VERSION) $(LIBSVGTINY_SITE) $(BUILD_DIR)/$(LIBSVGTINY_SVNDIR) + tar -cv -C $(BUILD_DIR) $(LIBSVGTINY_SVNDIR) | bzip2 - -c > $@ + rm -rf $(BUILD_DIR)/$(LIBSVGTINY_SVNDIR) + +# use custom download step +LIBSVGTINY_TARGET_SOURCE := $(DL_DIR)/$(LIBSVGTINY_SOURCE) + +define LIBSVGTINY_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr +endef + +define LIBSVGTINY_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) install +endef + +define LIBSVGTINY_UNINSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall +endef + +define LIBSVGTINY_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install +endef + +define LIBSVGTINY_UNINSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall +endef + +define BZIP2_CLEAN_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean +endef + +$(eval $(call GENTARGETS,package,libsvgtiny)) diff --git a/package/libsvgtiny/libsvtiny.mk b/package/libsvgtiny/libsvtiny.mk deleted file mode 100644 index 57430fe89..000000000 --- a/package/libsvgtiny/libsvtiny.mk +++ /dev/null @@ -1,47 +0,0 @@ -############################################################ -# -# libsvgtiny -# -############################################################ - -LIBSVGTINY_SITE = svn://svn.netsurf-browser.org/trunk/libsvgtiny -LIBSVGTINY_VERSION = 9800 -LIBSVGTINY_SVNDIR = libsvgtiny-svn-r$(LIBSVGTINY_VERSION) -LIBSVGTINY_SOURCE = $(LIBSVGTINY_SVNDIR).tar.bz2 -LIBSVGTINY_INSTALL_STAGING = YES -LIBSVGTINY_INSTALL_TARGET = YES -LIBSVGTINY_DEPENDENCIES = libxml2 - -$(DL_DIR)/$(LIBSVGTINY_SOURCE): - $(SVN_CO) -r $(LIBSVGTINY_VERSION) $(LIBSVGTINY_SITE) $(BUILD_DIR)/$(LIBSVGTINY_SVNDIR) - tar -cv -C $(BUILD_DIR) $(LIBSVGTINY_SVNDIR) | bzip2 - -c > $@ - rm -rf $(BUILD_DIR)/$(LIBSVGTINY_SVNDIR) - -# use custom download step -LIBSVGTINY_TARGET_SOURCE := $(DL_DIR)/$(LIBSVGTINY_SOURCE) - -define LIBSVGTINY_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr -endef - -define LIBSVGTINY_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) install -endef - -define LIBSVGTINY_UNINSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall -endef - -define LIBSVGTINY_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install -endef - -define LIBSVGTINY_UNINSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall -endef - -define BZIP2_CLEAN_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean -endef - -$(eval $(call GENTARGETS,package,libsvgtiny)) -- cgit v1.2.3