Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= libtool
  5. PKG_VERSION:= 2.4.2
  6. PKG_RELEASE:= 4
  7. PKG_HASH:= 1d7b6862c1ed162e327f083a6f78f40eae29218f0db8c38393d61dab764c4407
  8. PKG_DESCR:= generic dynamic object loading library
  9. PKG_SECTION:= dev/tools
  10. PKG_BUILDDEP:= m4-host libtool-host
  11. HOST_BUILDDEP:= automake-host
  12. PKG_URL:= http://www.gnu.org/software/libtool/
  13. PKG_SITES:= ${MASTER_SITE_GNU:=libtool/}
  14. PKG_LIBNAME:= libltdl
  15. PKG_OPTS:= dev
  16. PKG_SUBPKGS:= LIBTOOL LIBLTDL
  17. PKGSC_LIBLTDL:= libs/misc
  18. include ${ADK_TOPDIR}/mk/host.mk
  19. include ${ADK_TOPDIR}/mk/package.mk
  20. $(eval $(call HOST_template,LIBTOOL,libtool,${PKG_VERSION}-${PKG_RELEASE}))
  21. $(eval $(call PKG_template,LIBTOOL,libtool,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LIBLTDL,libltdl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL},${PKG_OPTS}))
  23. ifeq (${ADK_HOST_OPENBSD},y)
  24. XAKE_FLAGS+= AUTOCONF_VERSION=2.62
  25. endif
  26. CONFIGURE_ARGS+= --enable-ltdl-install
  27. XAKE_FLAGS+= HELP2MAN=/bin/echo
  28. HOST_CONFIGURE_ARGS+= --enable-ltdl-install --disable-shared
  29. HOST_XAKE_FLAGS+= HELP2MAN=/bin/echo
  30. libtool-install:
  31. ${INSTALL_DIR} ${IDIR_LIBTOOL}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtool ${IDIR_LIBTOOL}/usr/bin
  33. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtoolize ${IDIR_LIBTOOL}/usr/bin
  34. libltdl-install:
  35. ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
  36. ${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
  37. include ${ADK_TOPDIR}/mk/host-bottom.mk
  38. include ${ADK_TOPDIR}/mk/pkg-bottom.mk