void-packages/srcpkgs/libtool/template
Jürgen Buchmüller ece98763f4 libtool: update to 2.4.6
I adapted the patches to enable cross compiling to the
new file hierarchy and line numbers:
+ configure and libltdl/configure have just different line numbers
+ libltdl/config/ltmain.m4sh was replaced with build-aux/ltmain.{in,sh}
+ tests/cdemo does no longer exist
+ patched tests/testsuite and tests/sysroot.at instead
+ had to add --force to ./bootstrap

+ gmp now needs to run autoreconf -if for cross compile case
+ libarchive -"-

I successfully built for x86_64 and cross built for armv[67]hf e.g.
`alsa-lib` for a test. However, this pr needs to be scrutinized before merge.
2015-10-21 12:00:49 +02:00

36 lines
919 B
Bash

# Template build file for 'libtool'
pkgname=libtool
version=2.4.6
revision=1
hostmakedepends="perl automake help2man"
depends="tar sed"
build_style=gnu-configure
homepage="http://www.gnu.org/software/libtool"
distfiles="${GNU_SITE}/libtool/$pkgname-$version.tar.xz"
short_desc="Generic library support script"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
checksum=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f
pre_configure() {
./bootstrap --force
}
libltdl-devel_package() {
depends="libltdl-${version}_${revision}"
short_desc="GNU Libtool Dynamic Module Loader development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/aclocal/ltdl.m4
vmove usr/share/libtool/libltdl
}
}
libltdl_package() {
short_desc="Runtime libraries for GNU Libtool Dynamic Module Loader"
pkg_install() {
vmove "usr/lib/libltdl.so.*"
}
}