diff options
author | Florian Fainelli <florian@openwrt.org> | 2005-12-13 13:01:01 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2005-12-13 13:01:01 +0000 |
commit | 06c1ae3041ced4a6f55aea56b656e6a90fce7f16 (patch) | |
tree | 53e273ed1968553b4c1f2fc6a4f5371c2b4f27ee /package/rules.mk | |
parent | ccd9ba2e8099f502c9c82d56e761b07d1148a66e (diff) | |
download | upstream-06c1ae3041ced4a6f55aea56b656e6a90fce7f16.tar.gz upstream-06c1ae3041ced4a6f55aea56b656e6a90fce7f16.tar.bz2 upstream-06c1ae3041ced4a6f55aea56b656e6a90fce7f16.zip |
Added dhcp6, an IPv6 implementation of the dhcp server and client
Added support in package/rules.mk for zip files, just use PKG_CAT=unzip to uncompress the archive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2649 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rules.mk')
-rw-r--r-- | package/rules.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/rules.mk b/package/rules.mk index 18f53bdc3d..9bbf4fa48f 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -45,7 +45,11 @@ ifneq ($(strip $(PKG_CAT)),) $(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE) rm -rf $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR) - $(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(PKG_BUILD_DIR)/.. $(TAR_OPTIONS) - + if [ "$(PKG_CAT)" = "unzip" ]; then \ + unzip -d $(PKG_BUILD_DIR) $(DL_DIR)/$(PKG_SOURCE) ; \ + else \ + $(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(PKG_BUILD_DIR)/.. $(TAR_OPTIONS) - ; \ + fi if [ -d ./patches ]; then \ $(PATCH) $(PKG_BUILD_DIR) ./patches ; \ fi |