|
@ -7,19 +7,17 @@ |
|
|
LUA_FEEDPARSER_VERSION = 0.71 |
|
|
LUA_FEEDPARSER_VERSION = 0.71 |
|
|
LUA_FEEDPARSER_DIR = lua-feedparser-$(LUA_FEEDPARSER_VERSION) |
|
|
LUA_FEEDPARSER_DIR = lua-feedparser-$(LUA_FEEDPARSER_VERSION) |
|
|
LUA_FEEDPARSER_SOURCE = lua-feedparser-$(LUA_FEEDPARSER_VERSION).tar.gz |
|
|
LUA_FEEDPARSER_SOURCE = lua-feedparser-$(LUA_FEEDPARSER_VERSION).tar.gz |
|
|
LUA_FEEDPARSER_SITE = https://github.com/slact/lua-feedparser/archive |
|
|
LUA_FEEDPARSER_SITE = $(call github,slact,lua-feedparser,$(LUA_FEEDPARSER_VERSION)) |
|
|
|
|
|
|
|
|
$(DL_DIR)/$(LUA_FEEDPARSER_SOURCE): |
|
|
|
|
|
$(download) $(LUA_FEEDPARSER_SITE)/$(LUA_FEEDPARSER_VERSION).tar.gz -O $(@) |
|
|
|
|
|
|
|
|
|
|
|
LUA_FEEDPARSER_DEPENDENCIES = luaexpat |
|
|
LUA_FEEDPARSER_DEPENDENCIES = luaexpat |
|
|
|
|
|
|
|
|
lua-feedparser: $(LUA_FEEDPARSER_DEPENDENCIES) $(DL_DIR)/$(LUA_FEEDPARSER_SOURCE) | $(TARGET_DIR) |
|
|
define LUA_FEEDPARSER_PATCH_MAKEFILE |
|
|
$(REMOVE)/$(PKG_DIR) |
|
|
$(SED) 's|^PREFIX =|PREFIX ?=|' $(PKG_BUILD_DIR)/Makefile |
|
|
$(UNTAR)/$(PKG_SOURCE) |
|
|
endef |
|
|
$(call APPLY_PATCHES,$(PKG_PATCHES_DIR)) |
|
|
LUA_FEEDPARSER_POST_PATCH_HOOKS += LUA_FEEDPARSER_PATCH_MAKEFILE |
|
|
$(CHDIR)/$(PKG_DIR); \
|
|
|
|
|
|
$(SED) 's|^PREFIX =|PREFIX ?=|' Makefile; \
|
|
|
lua-feedparser: | $(TARGET_DIR) |
|
|
|
|
|
$(call PREPARE) |
|
|
|
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
|
$(MAKE) install PREFIX=$(TARGET_prefix) |
|
|
$(MAKE) install PREFIX=$(TARGET_prefix) |
|
|
$(REMOVE)/$(PKG_DIR) |
|
|
$(call TARGET_FOLLOWUP) |
|
|
$(TOUCH) |
|
|
|
|
|