mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
36 lines
920 B
Text
36 lines
920 B
Text
# Contributor: omni <omni+alpine@hack.org>
|
|
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=libmd
|
|
pkgver=1.1.0
|
|
pkgrel=0
|
|
pkgdesc="Message Digest functions from BSD systems"
|
|
url="https://www.hadrons.org/software/libmd/"
|
|
arch="all"
|
|
license="BSD-3-Clause AND BSD-2-Clause AND ISC AND Beerware AND Public Domain"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://archive.hadrons.org/software/libmd/libmd-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm0644 COPYING -t "$pkgdir"/usr/share/licenses/"$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
5d0da3337038e474fae7377bbc646d17214e72dc848a7aadc157f49333ce7b5ac1456e45d13674bd410ea08477c6115fc4282fed6c8e6a0bf63537a418c0df96 libmd-1.1.0.tar.xz
|
|
"
|