From 6d6b0decbeef7cf1d5df9a62df2081b6151c0dc8 Mon Sep 17 00:00:00 2001 From: omni <omni+alpine@hack.org> Date: Wed, 3 Mar 2021 18:34:15 +0000 Subject: [PATCH] main/libmd: new aport --- main/libmd/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 main/libmd/APKBUILD diff --git a/main/libmd/APKBUILD b/main/libmd/APKBUILD new file mode 100644 index 000000000000..9cd8d1a5b4e8 --- /dev/null +++ b/main/libmd/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: omni <omni+alpine@hack.org> +# Maintainer: omni <omni+alpine@hack.org> +pkgname=libmd +pkgver=1.0.3 +pkgrel=0 +pkgdesc="Message Digest functions from BSD systems" +url="https://www.hadrons.org/software/libmd/" +arch="all" +license="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="f4b5a86bea7b9fac9f7f173032ee436d1e7141f760c1a114a785d31644edbf6802fe8193cc4cf3b5c66d38963be919c05055780bdf6bf5a47927690490ff5966 libmd-1.0.3.tar.xz" -- GitLab