2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'libtool'
|
|
|
|
pkgname=libtool
|
2011-10-21 16:08:01 +02:00
|
|
|
version=2.4.2
|
2014-06-05 12:05:26 +02:00
|
|
|
revision=8
|
2014-01-01 16:10:11 +01:00
|
|
|
noarch=yes
|
2013-03-24 12:01:46 +01:00
|
|
|
hostmakedepends="perl automake help2man"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="tar sed"
|
2013-02-06 10:50:14 +01:00
|
|
|
build_style=gnu-configure
|
2011-10-21 16:08:01 +02:00
|
|
|
homepage="http://www.gnu.org/software/libtool"
|
2011-05-03 09:22:20 +02:00
|
|
|
distfiles="http://ftp.gnu.org/pub/gnu/libtool/$pkgname-$version.tar.xz"
|
2013-02-06 10:50:14 +01:00
|
|
|
short_desc="Generic library support script"
|
2008-09-26 21:59:07 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-21 16:08:01 +02:00
|
|
|
license="GPL-2"
|
|
|
|
checksum=1d7b6862c1ed162e327f083a6f78f40eae29218f0db8c38393d61dab764c4407
|
2009-04-22 01:56:22 +02:00
|
|
|
|
2013-02-06 10:50:14 +01:00
|
|
|
pre_configure() {
|
|
|
|
./bootstrap
|
|
|
|
}
|
2013-04-11 10:06:32 +02:00
|
|
|
|
|
|
|
libltdl-devel_package() {
|
2014-06-05 12:05:26 +02:00
|
|
|
depends="libltdl>=${version}_${revision}"
|
2013-04-11 10:06:32 +02:00
|
|
|
short_desc="GNU Libtool Dynamic Module Loader development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-06-05 12:05:26 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-11 10:06:32 +02:00
|
|
|
vmove usr/share/aclocal/ltdl.m4
|
|
|
|
vmove usr/share/libtool/libltdl
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libltdl_package() {
|
|
|
|
short_desc="Runtime libraries for GNU Libtool Dynamic Module Loader"
|
|
|
|
replaces="libtool-ltdl>=0"
|
|
|
|
pkg_install() {
|
2014-06-05 12:05:26 +02:00
|
|
|
vmove "usr/lib/libltdl.so.*"
|
2013-04-11 10:06:32 +02:00
|
|
|
}
|
|
|
|
}
|