X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Flibelf%2FMakefile;h=9fec8308b557c50adee14f263bcc45f3b1f89d7c;hb=0f33c6b74a621f2b8bb5793c5e0d3121a1da09b2;hp=8036b6f1890f550ee86214398942346dea735bcd;hpb=ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36;p=openwrt%2F.git diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile index 8036b6f189..9fec8308b5 100644 --- a/tools/libelf/Makefile +++ b/tools/libelf/Makefile @@ -9,12 +9,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libelf PKG_VERSION:=0.8.13 -PKG_MD5SUM:=4136d7b4c04df68b686570afa26988ac +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