asterisk: update to 20.11.1
[openadk.git] / package / elfutils / Makefile
blob231559424b7cb858d9ad0ea93b68d04875bd1d8c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= elfutils
7 PKG_VERSION:= 0.189
8 PKG_RELEASE:= 1
9 PKG_HASH:= 39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8
10 PKG_DESCR:= libraries/utilities to handle elf objects (drop in replacement for libelf)
11 PKG_SECTION:= base/libs
12 PKG_NEEDS:= intl
13 PKG_SITES:= https://sourceware.org/elfutils/ftp/$(PKG_VERSION)/
15 # require argp()
16 PKG_LIBC_DEPENDS:= glibc uclibc-ng
18 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call PKG_template,ELFUTILS,elfutils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
24 # not only because we pass -DNDEBUG, this package won't build with -Werror
25 TARGET_CFLAGS+= -Wno-error
27 AUTOTOOL_STYLE:= autoreconf
28 CONFIGURE_ARGS+= --disable-symbol-versioning \
29 --disable-debuginfod \
30 --disable-libdebuginfod \
31 --disable-demangler \
32 --disable-progs
34 elfutils-install:
35 $(INSTALL_DIR) $(IDIR_ELFUTILS)/usr/lib/elfutils
36 $(CP) $(WRKINST)/usr/lib/lib{asm,dw,elf}*.so* \
37 $(IDIR_ELFUTILS)/usr/lib
39 include $(ADK_TOPDIR)/mk/pkg-bottom.mk