libtool: modernize.

This commit is contained in:
Juan RP 2014-06-05 12:05:26 +02:00
parent ef3cc45325
commit c3c88de396
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'libtool'
pkgname=libtool
version=2.4.2
revision=7
revision=8
noarch=yes
hostmakedepends="perl automake help2man"
depends="tar sed"
@ -18,11 +18,12 @@ pre_configure() {
}
libltdl-devel_package() {
depends="libltdl>=${version}"
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
}
@ -32,6 +33,6 @@ libltdl_package() {
short_desc="Runtime libraries for GNU Libtool Dynamic Module Loader"
replaces="libtool-ltdl>=0"
pkg_install() {
vmove "usr/lib/libltdl.so*"
vmove "usr/lib/libltdl.so.*"
}
}