void-packages/srcpkgs/libtool/template

38 lines
1021 B
Bash

# Template build file for 'libtool'
pkgname=libtool
version=2.4.6
revision=2
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() {
touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in
./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.*"
}
}