1
0

Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b32b04148ecdd7344abc6fe8bd1bb021
  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 LIBLTDL_DEV
  13. PKGSC_LIBLTDL:= libs
  14. PKGSD_LIBLTDL_DEV:= libltdl header files
  15. PKGSC_LIBLTDL_DEV:= devel
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBTOOL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBLTDL,libltdl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL}))
  19. $(eval $(call PKG_template,LIBLTDL_DEV,libltdl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL_DEV}))
  20. ifeq (${ADK_HOST_OPENBSD},y)
  21. XAKE_FLAGS+= AUTOCONF_VERSION=2.62
  22. endif
  23. CONFIGURE_ARGS+= --enable-ltdl-install
  24. libtool-install:
  25. ${INSTALL_DIR} ${IDIR_LIBTOOL}/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtool ${IDIR_LIBTOOL}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/libtoolize ${IDIR_LIBTOOL}/usr/bin
  28. libltdl-install:
  29. ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
  30. ${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
  31. libltdl-dev-install:
  32. ${INSTALL_DIR} ${IDIR_LIBLTDL_DEV}/usr/include
  33. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBLTDL_DEV}/usr/include
  34. include ${TOPDIR}/mk/pkg-bottom.mk