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
9 PKG_HASH
:= 591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d
10 PKG_DESCR
:= elf library
11 PKG_SECTION
:= libs
/misc
12 PKG_SITES
:= http
://www.mr511.de
/software
/
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}"
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