From 9c35f14edf1134b9146ec3ae56c8eae7b0f602ec Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Fri, 5 Sep 2014 17:00:13 +0000 Subject: [PATCH] dkjson: Fix PKG_BUILD_DIR paths This fixes builds on clean checkouts, and also fixes the "md5sum tests aren't working" notes. Signed-off-by: Karl Palsson --- lang/dkjson/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/dkjson/Makefile b/lang/dkjson/Makefile index e1f7ed744..c7a7d8729 100644 --- a/lang/dkjson/Makefile +++ b/lang/dkjson/Makefile @@ -13,7 +13,7 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://dkolf.de/src/dkjson-lua.fsl/tarball/ -# TODO: md5sum doesn't seem be taken into account +PKG_BUILD_DIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_MD5SUM:=dbe706722dd64308172cf8e37395e762 PKG_LICENSE:=MIT @@ -41,7 +41,7 @@ endef define Package/dkjson/install $(INSTALL_DIR) $(1)/usr/lib/lua - $(INSTALL_BIN) $(BUILD_DIR)/dkjson/dkjson.lua $(1)/usr/lib/lua/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/dkjson.lua $(1)/usr/lib/lua/ endef $(eval $(call BuildPackage,dkjson))