summaryrefslogtreecommitdiff
path: root/package/libtool
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libtool
Initial import
Diffstat (limited to 'package/libtool')
-rw-r--r--package/libtool/Config.in14
-rw-r--r--package/libtool/Makefile26
-rw-r--r--package/libtool/ipkg/libltdl.control4
-rw-r--r--package/libtool/patches/01-force_dlopen_deplibs.patch14
4 files changed, 58 insertions, 0 deletions
diff --git a/package/libtool/Config.in b/package/libtool/Config.in
new file mode 100644
index 000000000..aed0c9640
--- /dev/null
+++ b/package/libtool/Config.in
@@ -0,0 +1,14 @@
+config ADK_COMPILE_LIBTOOL
+ tristate
+ depends ADK_PACKAGE_LIBLTDL
+
+config ADK_PACKAGE_LIBLTDL
+ prompt "libltdl........................... A generic dynamic object loading library"
+ tristate
+ default n
+ select ADK_COMPILE_LIBTOOL
+ help
+ A generic dynamic object loading library.
+
+ http://www.gnu.org/software/libtool/
+
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
new file mode 100644
index 000000000..4a23de141
--- /dev/null
+++ b/package/libtool/Makefile
@@ -0,0 +1,26 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libtool
+PKG_VERSION:= 1.5.22
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 8e0ac9797b62ba4dcc8a2fb7936412b0
+MASTER_SITES:= ${MASTER_SITE_GNU:=libtool/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBLTDL,libltdl,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libltdl.so.* ${IDIR_LIBLTDL}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtool/ipkg/libltdl.control b/package/libtool/ipkg/libltdl.control
new file mode 100644
index 000000000..d6a1777d3
--- /dev/null
+++ b/package/libtool/ipkg/libltdl.control
@@ -0,0 +1,4 @@
+Package: libltdl
+Priority: optional
+Section: libs
+Description: a generic dynamic object loading library
diff --git a/package/libtool/patches/01-force_dlopen_deplibs.patch b/package/libtool/patches/01-force_dlopen_deplibs.patch
new file mode 100644
index 000000000..dfcf56b32
--- /dev/null
+++ b/package/libtool/patches/01-force_dlopen_deplibs.patch
@@ -0,0 +1,14 @@
+diff -urN libtool-1.5.14/libltdl/acinclude.m4 libtool-1.5.14.new/libltdl/acinclude.m4
+--- libtool-1.5.14/libltdl/acinclude.m4 2005-02-12 13:20:02.000000000 +0100
++++ libtool-1.5.14.new/libltdl/acinclude.m4 2006-04-17 23:00:24.000000000 +0200
+@@ -6228,10 +6228,8 @@
+ ;;
+ esac
+ ])
+-if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
+ AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
+ [Define if the OS needs help to load dependent libraries for dlopen().])
+-fi
+ ])# AC_LTDL_SYS_DLOPEN_DEPLIBS
+
+