1
0

Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.4.2
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 2ec8997e0c07249eb4cbd072417d70fe
  8. PKG_DESCR:= generic dynamic object loading library
  9. PKG_SECTION:= lang
  10. PKG_BUILDDEP:= m4-host libtool-host
  11. PKG_URL:= http://www.gnu.org/software/libtool/
  12. PKG_SITES:= ${MASTER_SITE_GNU:=libtool/}
  13. PKG_LIBNAME:= libltdl
  14. PKG_OPTS:= dev
  15. PKG_SUBPKGS:= LIBTOOL LIBLTDL
  16. PKGSC_LIBLTDL:= libs
  17. ifeq ($(ADK_STATIC),y)
  18. PKG_OPTS+= libmix
  19. endif
  20. include ${TOPDIR}/mk/host.mk
  21. include ${TOPDIR}/mk/package.mk
  22. $(eval $(call HOST_template,LIBTOOL,libtool,${PKG_VERSION}-${PKG_RELEASE}))
  23. $(eval $(call PKG_template,LIBTOOL,libtool,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  24. $(eval $(call PKG_template,LIBLTDL,libltdl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL},${PKG_OPTS}))
  25. ifeq (${ADK_HOST_OPENBSD},y)
  26. XAKE_FLAGS+= AUTOCONF_VERSION=2.62
  27. endif
  28. HOST_STYLE:= auto
  29. CONFIGURE_ARGS+= --enable-ltdl-install
  30. XAKE_FLAGS+= HELP2MAN=/bin/echo
  31. HOST_XAKE_FLAGS+= HELP2MAN=/bin/echo
  32. libtool-install:
  33. ${INSTALL_DIR} ${IDIR_LIBTOOL}/usr/bin
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtool ${IDIR_LIBTOOL}/usr/bin
  35. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtoolize ${IDIR_LIBTOOL}/usr/bin
  36. libltdl-install:
  37. ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
  38. ${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
  39. include ${TOPDIR}/mk/host-bottom.mk
  40. include ${TOPDIR}/mk/pkg-bottom.mk