X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Flibelf%2FMakefile;h=9fec8308b557c50adee14f263bcc45f3b1f89d7c;hb=0f33c6b74a621f2b8bb5793c5e0d3121a1da09b2;hp=ab7360ffee1de34077ce2581288bc6778f6b4d2a;hpb=720b99215da295a2e7b4acdef30b58bec6acedc2;p=openwrt%2F.git diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile index ab7360ffee..9fec8308b5 100644 --- a/tools/libelf/Makefile +++ b/tools/libelf/Makefile @@ -13,8 +13,9 @@ PKG_HASH:=591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.mr511.de/software/ - +PKG_SOURCE_URL:= \ + http://distfiles.gentoo.org/distfiles/ \ + http://distcache.freebsd.org/ports-distfiles/ HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk @@ -36,15 +37,17 @@ define Host/Compile endef define Host/Install - $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/libelf} + $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib/pkgconfig,include/libelf} $(CP) $(HOST_BUILD_DIR)/lib/{elf_repl.h,gelf.h,libelf.h,nlist.h,sys_elf.h} \ $(STAGING_DIR_HOST)/include/libelf/ $(CP) $(HOST_BUILD_DIR)/lib/libelf.a $(STAGING_DIR_HOST)/lib/ + $(CP) $(HOST_BUILD_DIR)/libelf.pc $(STAGING_DIR_HOST)/lib/pkgconfig/ endef define Host/Clean rm -rf $(STAGING_DIR_HOST)/include/libelf rm -f $(STAGING_DIR_HOST)/lib/libelf.a + rm -f $(STAGING_DIR_HOST)/lib/pkgconfig/libelf.pc $(call Host/Clean/Default) endef