29 lines
703 B
Plaintext
29 lines
703 B
Plaintext
pkgname=libtool
|
|
pkgver=2.4.7
|
|
pkgdesc='A generic library support script'
|
|
homepage='https://www.gnu.org/software/libtool'
|
|
license=('LGPL-2.0-or-later WITH Libtool-exception')
|
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
|
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
|
md5sums=("2fc0b6ddcd66a89ed6e45db28fa44232")
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
}
|
|
|
|
src_build() {
|
|
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
|
|
make
|
|
}
|
|
|
|
src_check() {
|
|
leaf_record_message "Two of the tests are known to fail. See LFS handbook."
|
|
make -k check
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR="${pkgdir}" install
|
|
rm -fv "${pkgdir}/usr/lib/libltdl.a"
|
|
}
|
|
|