void-packages/srcpkgs/libtool/template

37 lines
938 B
Bash

# Template build file for 'libtool'
pkgname=libtool
version=2.4.2
revision=12
noarch=yes
hostmakedepends="perl automake help2man"
depends="tar sed"
build_style=gnu-configure
homepage="http://www.gnu.org/software/libtool"
distfiles="http://ftp.gnu.org/pub/gnu/libtool/$pkgname-$version.tar.xz"
short_desc="Generic library support script"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
checksum=1d7b6862c1ed162e327f083a6f78f40eae29218f0db8c38393d61dab764c4407
pre_configure() {
./bootstrap
}
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.*"
}
}