mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 11:21:50 +01:00
42 lines
881 B
Plaintext
42 lines
881 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libtool
|
|
pkgver=2.4.2
|
|
pkgrel=0
|
|
pkgdesc="A generic library support script"
|
|
arch="all"
|
|
license='GPL'
|
|
url="http://www.gnu.org/software/libtool"
|
|
source="ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz"
|
|
depends="bash libltdl"
|
|
subpackages="libltdl $pkgname-doc"
|
|
options="libtool"
|
|
|
|
prepare() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
libltdl() {
|
|
pkgdesc="Runtime libraries for GNU Libtool Dynamic Module Loade"
|
|
depends=
|
|
mkdir -p "$subpkgdir/usr/lib"
|
|
mv "$pkgdir/usr/lib/libltdl.so"* "$subpkgdir/usr/lib/"
|
|
}
|
|
|
|
md5sums="d2f3b7d4627e69e13514a40e72a24d50 libtool-2.4.2.tar.gz"
|