1
0

Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= 3
  7. PKG_MD5SUM:= 2ec8997e0c07249eb4cbd072417d70fe
  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_XAKE_FLAGS+= HELP2MAN=/bin/echo
  29. libtool-install:
  30. ${INSTALL_DIR} ${IDIR_LIBTOOL}/usr/bin
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtool ${IDIR_LIBTOOL}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtoolize ${IDIR_LIBTOOL}/usr/bin
  33. libltdl-install:
  34. ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
  35. ${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
  36. include ${ADK_TOPDIR}/mk/host-bottom.mk
  37. include ${ADK_TOPDIR}/mk/pkg-bottom.mk