From 7ba2a2b325f5fbe6bced6d0e1de5190bb3c5cec3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 22 Apr 2009 01:56:22 +0200 Subject: [PATCH] libtool: new deps style, converted to subpkgs. --HG-- extra : convert_revision : 1948223b4994d897d445e646e578b22474f140c2 --- templates/libtool-ltdl | 1 + templates/libtool/depends | 2 ++ templates/libtool/ltdl.template | 19 +++++++++++++++++++ templates/libtool/template | 4 ++++ 4 files changed, 26 insertions(+) create mode 120000 templates/libtool-ltdl create mode 100644 templates/libtool/depends create mode 100644 templates/libtool/ltdl.template diff --git a/templates/libtool-ltdl b/templates/libtool-ltdl new file mode 120000 index 0000000000..f898b816ca --- /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 0000000000..9f9d31dfe3 --- /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 0000000000..6e6430f737 --- /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 78a32185a3..d285555ce4 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