aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoromni <omni+alpine@hack.org>2021-03-03 18:34:15 +0000
committerLeo <thinkabit.ukim@gmail.com>2021-04-01 18:35:33 +0000
commit6d6b0decbeef7cf1d5df9a62df2081b6151c0dc8 (patch)
tree129893992974fd71f328c5b62a06f9aa223eebd3
parent0140428a43ddac7f85d8bedda995926dcdc48437 (diff)
downloadaports-6d6b0decbeef7cf1d5df9a62df2081b6151c0dc8.tar.gz
aports-6d6b0decbeef7cf1d5df9a62df2081b6151c0dc8.tar.bz2
aports-6d6b0decbeef7cf1d5df9a62df2081b6151c0dc8.tar.xz
main/libmd: new aport
-rw-r--r--main/libmd/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/libmd/APKBUILD b/main/libmd/APKBUILD
new file mode 100644
index 0000000000..9cd8d1a5b4
--- /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"