From 1b108829fadb477a8ed1e5e81cb0598837101056 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 27 Dec 2009 16:48:58 +0100 Subject: [PATCH] libtool: update to 2.2.6b, add new libltdl-devel subpkg. --HG-- extra : convert_revision : f36cc3f6b6ffed4dd3457b8f84cac3bb363ad8f7 --- srcpkgs/libltdl-devel | 1 + srcpkgs/libtool/libltdl-devel.template | 29 ++++++++++++++++++++++++++ srcpkgs/libtool/libltdl.template | 6 ++---- srcpkgs/libtool/template | 10 ++++----- 4 files changed, 37 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/libltdl-devel create mode 100644 srcpkgs/libtool/libltdl-devel.template diff --git a/srcpkgs/libltdl-devel b/srcpkgs/libltdl-devel new file mode 120000 index 00000000000..f898b816ca3 --- /dev/null +++ b/srcpkgs/libltdl-devel @@ -0,0 +1 @@ +libtool \ No newline at end of file diff --git a/srcpkgs/libtool/libltdl-devel.template b/srcpkgs/libtool/libltdl-devel.template new file mode 100644 index 00000000000..ac63e811fff --- /dev/null +++ b/srcpkgs/libtool/libltdl-devel.template @@ -0,0 +1,29 @@ +# Template file for 'libltdl-devel'. +# +short_desc="GNU Libtool Dynamic Module Loader development files" +long_desc=" + The libltdl 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). + + This package contains development files required by libltdl." + +Add_dependency run libltdl + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mkdir -p ${DESTDIR}/usr/share/aclocal + mkdir -p ${DESTDIR}/usr/share/libtool + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/aclocal/ltdl.m4 \ + ${DESTDIR}/usr/share/aclocal + mv ${SRCPKGDESTDIR}/usr/share/libtool/libltdl \ + ${DESTDIR}/usr/share/libtool +} diff --git a/srcpkgs/libtool/libltdl.template b/srcpkgs/libtool/libltdl.template index 4359fe3d8c9..200911f45f3 100644 --- a/srcpkgs/libtool/libltdl.template +++ b/srcpkgs/libtool/libltdl.template @@ -1,8 +1,8 @@ -# Template file for 'libtool-ltdl'. +# Template file for 'libltdl'. # short_desc="Runtime libraries for GNU Libtool Dynamic Module Loader" long_desc=" - The libtool-ltdl package contains the GNU Libtool Dynamic Module Loader, a + This package contains the GNU Libtool Dynamic Module Loader, a library that provides a consistent, portable interface which simplifies the process of using dynamic modules. @@ -11,8 +11,6 @@ long_desc=" rest of the GNU Autotools (including GNU Autoconf and GNU Automake)." replaces="libtool-ltdl" -revision=1 - Add_dependency run glibc do_install() diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template index d425f30a8d3..ec9392d9e81 100644 --- a/srcpkgs/libtool/template +++ b/srcpkgs/libtool/template @@ -1,16 +1,16 @@ # Template build file for 'libtool' pkgname=libtool -version=2.2.6a -wrksrc="$pkgname-2.2.6" -distfiles="http://ftp.gnu.org/pub/gnu/libtool/$pkgname-$version.tar.gz" +version=2.2.6b +distfiles="http://ftp.gnu.org/pub/gnu/libtool/$pkgname-$version.tar.lzma" build_style=gnu_configure short_desc="Generic library support" maintainer="Juan RP " -checksum=eb6b8f8272c5a5cad0c7c6b949aa75632f45c295f09b2e1e90b6bce15b32b796 +checksum=66ebad3c02e5cb6672bfbda1183fb6fc919d33d676eb8be4b7834aa7c3b8b7ae 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="libltdl" +noarch=yes +subpackages="libltdl libltdl-devel" Add_dependency run glibc