diff --git a/templates/libtool-ltdl b/templates/libtool-ltdl new file mode 120000 index 00000000000..f898b816ca3 --- /dev/null +++ b/templates/libtool-ltdl @@ -0,0 +1 @@ +libtool \ No newline at end of file diff --git a/templates/libtool/depends b/templates/libtool/depends new file mode 100644 index 00000000000..9f9d31dfe30 --- /dev/null +++ b/templates/libtool/depends @@ -0,0 +1,2 @@ +abi_depends=2.2.6 +api_depends=${abi_depends} diff --git a/templates/libtool/ltdl.template b/templates/libtool/ltdl.template new file mode 100644 index 00000000000..6e6430f737a --- /dev/null +++ b/templates/libtool/ltdl.template @@ -0,0 +1,19 @@ +# Template file for 'libtool-ltdl'. +# +short_desc="Runtime libraries for GNU Libtool Dynamic Module Loader" +long_desc=" + The libtool-ltdl package contains the GNU Libtool Dynamic Module Loader, a + library that provides a consistent, portable interface which simplifies the + process of using dynamic modules. + + These runtime libraries are needed by programs that link directly to the + system-installed ltdl libraries; they are not needed by software built using the + rest of the GNU Autotools (including GNU Autoconf and GNU Automake)." + +Add_dependency run glibc + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libltdl.so.* ${DESTDIR}/usr/lib +} diff --git a/templates/libtool/template b/templates/libtool/template index 78a32185a3c..d285555ce4d 100644 --- a/templates/libtool/template +++ b/templates/libtool/template @@ -1,5 +1,6 @@ # Template build file for 'libtool' pkgname=libtool +sourcepkg=$pkgname version=2.2.6a wrksrc="$pkgname-2.2.6" distfiles="http://ftp.gnu.org/pub/gnu/libtool/$pkgname-$version.tar.gz" @@ -11,3 +12,6 @@ long_desc=" This is GNU libtool, a generic library support script. Libtool hides the complexity of generating special library types (such as shared libraries) befind a consistent interface." + +subpackages="ltdl" +Add_dependency full glibc