1 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: judd <jvinet@zeroflux.org>
5 # NOTE: requires rebuilt with each new gcc version
8 pkgver=2.4.6+42+gb88cebd5
11 pkgdesc='A generic library support script'
13 url='https://www.gnu.org/software/libtool'
16 depends=(sh tar glibc)
17 makedepends=("gcc>=$_gccver" git help2man)
18 checkdepends=(gcc-fortran)
19 provides=("libltdl=$pkgver" "libtool-multilib=$pkgver")
20 conflicts=(libltdl libtool-multilib)
21 replaces=(libltdl libtool-multilib)
22 _commit=b88cebd510add4420dd8f5367e3cc6e6e1f267cd
23 source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit
24 git+https://git.savannah.gnu.org/git/gnulib.git
25 gnulib-bootstrap::git+https://github.com/gnulib-modules/bootstrap.git
30 '693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946')
34 git describe --tags | sed 's/-/+/g;s/^v//'
40 patch -Np1 -i ${srcdir}/no_hostname.patch
43 git config --local submodule.gnulib.url "$srcdir/gnulib"
44 git config --local submodule.gl-mod/bootstrap.url "$srcdir/gnulib-bootstrap"
52 ./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
58 make check gl_public_submodule_commit=
63 make DESTDIR="$pkgdir" install