package: json-c: Fix for compiling with gcc-14
[openadk.git] / package / libelf / Makefile
blob708b3bbd79439bee38647574ff7c51ec5d90fb30
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:= libelf
7 PKG_VERSION:= 0.8.13
8 PKG_RELEASE:= 1
9 PKG_HASH:= 591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d
10 PKG_DESCR:= elf library
11 PKG_SECTION:= libs/misc
12 PKG_SITES:= http://www.mr511.de/software/
13 PKG_OPTS:= dev
15 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,LIBELF,libelf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
21 CONFIGURE_ENV+= mr_cv_target_elf=yes \
22 ac_cv_sizeof_long_long=8
23 CONFIGURE_ARGS+= --enable-elf64=yes \
24 --disable-sanity-checks
25 FAKE_FLAGS+= instroot="${WRKINST}"
27 libelf-install:
28 ${INSTALL_DIR} ${IDIR_LIBELF}/usr/lib
29 ${CP} ${WRKINST}/usr/lib/libelf.so* ${IDIR_LIBELF}/usr/lib/
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk