Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= libtool
  5. PKG_VERSION:= 2.2.10
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b745d220e88163fcd9eea0a90ccf21b0
  8. PKG_DESCR:= a generic dynamic object loading library
  9. PKG_SECTION:= lang
  10. PKG_URL:= http://www.gnu.org/software/libtool/
  11. PKG_SITES:= ${MASTER_SITE_GNU:=libtool/}
  12. PKG_SUBPKGS:= LIBTOOL LIBLTDL
  13. PKGSC_LIBLTDL:= libs
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBTOOL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. $(eval $(call PKG_template,LIBLTDL,libltdl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL}))
  17. ifeq (${ADK_HOST_OPENBSD},y)
  18. XAKE_FLAGS+= AUTOCONF_VERSION=2.62
  19. endif
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
  23. ${INSTALL_DIR} ${IDIR_LIBTOOL}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtool ${IDIR_LIBTOOL}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtoolize ${IDIR_LIBTOOL}/usr/bin
  26. include ${TOPDIR}/mk/pkg-bottom.mk