add more scanning data to wlcompat
[openwrt.git] / package / libelf / Makefile
index b7a4a6a..0cfb23c 100644 (file)
@@ -1,10 +1,13 @@
+# $Id$
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME := libelf
 PKG_VERSION := 0.8.5
 PKG_RELEASE := 1
+PKG_MD5SUM := c1daf069367871350ece779b7de20047
 
-PKG_SOURCE_SITE := http://www.stud.uni-hannover.de/~michael/software/
+PKG_SOURCE_SITE := http://www.mr511.de/software/
 PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_CAT := zcat
 PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
@@ -12,10 +15,11 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
 PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
 PKG_IPK_DIR :=$(PKG_BUILD_DIR)/ipkg/
 
+.NOTPARALLEL:
 
 $(DL_DIR)/$(PKG_SOURCE_FILE):
        mkdir -p $(DL_DIR)
-       $(WGET) -P $(DL_DIR) $(PKG_SOURCE_SITE)/$(PKG_SOURCE_FILE)
+       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
 
 $(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE_FILE)
        mkdir -p $(TOOL_BUILD_DIR)
@@ -36,11 +40,11 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.unpacked
        touch $(PKG_BUILD_DIR)/.configured
 
 $(PKG_BUILD_DIR)/lib/libelf.so.$(LIBELF_VER): $(PKG_BUILD_DIR)/.configured
-       $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \
+       $(MAKE) -j1 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \
                -C $(PKG_BUILD_DIR)
 
 $(STAGING_DIR)/lib/libelf.so: $(PKG_BUILD_DIR)/lib/libelf.so.$(LIBELF_VER)
-       $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \
+       $(MAKE) -j1 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \
                -C $(PKG_BUILD_DIR)/lib instroot="$(STAGING_DIR)" install
 
 
@@ -64,4 +68,3 @@ clean:
        rm -rf $(PKG_BUILD_DIR)
        rm -f $(STAGING_DIR)/lib/$(PKG_NAME)* 
        rm -f $(PACKAGE_DIR)/$(PKG_NAME)\*.ipk
-
This page took 0.023267 seconds and 4 git commands to generate.