Makefile 899 B

12345678910111213141516171819202122232425262728293031
  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,libelf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ENV+= mr_cv_target_elf=yes \
  15. ac_cv_sizeof_long_long=8
  16. CONFIGURE_ARGS+= --enable-elf64=yes \
  17. --disable-sanity-checks
  18. BUILD_STYLE= auto
  19. INSTALL_STYLE= confprog auto
  20. FAKE_FLAGS+= instroot="${WRKINST}"
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBELF}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libelf.so.* ${IDIR_LIBELF}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk