summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/olsrd-luci
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/olsrd-luci')
-rw-r--r--contrib/package/olsrd-luci/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/package/olsrd-luci/Makefile b/contrib/package/olsrd-luci/Makefile
index de85d8ab57..c294b27a1e 100644
--- a/contrib/package/olsrd-luci/Makefile
+++ b/contrib/package/olsrd-luci/Makefile
@@ -18,12 +18,14 @@ PKG_HGREV:=26d021f68c49
PKG_SOURCE:=$(PKG_HGREV).tar.gz
PKG_SOURCE_URL:=http://gredler.at/hg/olsrd/archive
PKG_MD5SUM:=db07cbbdff1c97ff4045cd4f5716be2e
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-$(PKG_HGREV)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_HGREV)
+PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
#PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).tar.bz2
#PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
#PKG_MD5SUM:=0935688fa0fb5b0e073fe53ec654c5b2
-#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-$(PKG_VERSION)
+#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+#PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xjf $(DL_DIR)/$(PKG_SOURCE)
include $(INCLUDE_DIR)/package.mk