1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f
10 PKG_DESCR
:= generic dynamic object loading library
11 PKG_SECTION
:= dev
/tools
12 PKG_BUILDDEP
:= m4-host libtool-host
13 HOST_BUILDDEP
:= automake-host
14 PKG_URL
:= http
://www.gnu.org
/software
/libtool
/
15 PKG_SITES
:= ${MASTER_SITE_GNU
:=libtool
/}
19 PKG_SUBPKGS
:= LIBTOOL LIBLTDL
20 PKGSC_LIBLTDL
:= libs
/misc
22 include ${ADK_TOPDIR}/mk
/host.mk
23 include ${ADK_TOPDIR}/mk
/package.mk
25 $(eval
$(call HOST_template
,LIBTOOL
,libtool
,${PKG_VERSION}-${PKG_RELEASE}))
26 $(eval
$(call PKG_template
,LIBTOOL
,libtool
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
27 $(eval
$(call PKG_template
,LIBLTDL
,libltdl
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL},${PKG_OPTS}))
29 ifeq (${ADK_HOST_OPENBSD},y
)
30 XAKE_FLAGS
+= AUTOCONF_VERSION
=2.62
33 CONFIGURE_ARGS
+= --enable-ltdl-install
34 XAKE_FLAGS
+= HELP2MAN
=/bin
/echo
35 HOST_CONFIGURE_ARGS
+= --enable-ltdl-install
--disable-shared
36 HOST_XAKE_FLAGS
+= HELP2MAN
=/bin
/echo
39 ${INSTALL_DIR} ${IDIR_LIBTOOL}/usr
/bin
40 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/libtool
${IDIR_LIBTOOL}/usr
/bin
41 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/libtoolize
${IDIR_LIBTOOL}/usr
/bin
44 ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr
/lib
45 ${CP} ${WRKINST}/usr
/lib
/libltdl.so
* ${IDIR_LIBLTDL}/usr
/lib
/
47 include ${ADK_TOPDIR}/mk
/host-bottom.mk
48 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk