Makefile 833 B

12345678910111213141516171819202122232425262728
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= libelf
  5. PKG_VERSION:= 0.8.11
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e931910b6d100f6caa32239849947fbf
  8. PKG_DESCR:= elf library
  9. PKG_SECTION:= libs
  10. PKG_SITES:= http://www.mr511.de/software/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBELF,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIGURE_ENV+= mr_cv_target_elf=yes \
  14. ac_cv_sizeof_long_long=8
  15. CONFIGURE_ARGS+= --enable-elf64=yes \
  16. --disable-sanity-checks
  17. FAKE_FLAGS+= instroot="${WRKINST}"
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_LIBELF}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libelf.so* ${IDIR_LIBELF}/usr/lib/
  21. include ${TOPDIR}/mk/pkg-bottom.mk