mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 22:01:42 +01:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libtool
|
|
pkgver=2.4.6
|
|
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"
|
|
makedepends="m4"
|
|
subpackages="libltdl $pkgname-doc"
|
|
options="libtool"
|
|
|
|
prepare() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
|| 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="addf44b646ddb4e3919805aa88fa7c5e libtool-2.4.6.tar.gz"
|
|
sha256sums="e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3 libtool-2.4.6.tar.gz"
|
|
sha512sums="3233d81cb2739a54b840a0a82064eebbfaa4fb442fb993a35d6bd41d8395c51f038c90ae048b9252f172d0a5bbfb4b36e2b13d4477001f9ff7d4124237819a18 libtool-2.4.6.tar.gz"
|