summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-15 00:18:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-15 00:18:03 +0000
commitd6711a5f840469a7f2e8f1bc02488dad6e4a1950 (patch)
tree5f75a054e26c4ecfc230d41423d7757c6e0b7e0b /contrib
parentd0d1fe0a28c5dcd5ffe62c59fde634dda2b5f1cd (diff)
contrib/package: ensure BUILD_DIR separation in olsrd-luci
Diffstat (limited to 'contrib')
-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