summaryrefslogtreecommitdiff
path: root/repo/libmd
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libmd')
-rw-r--r--repo/libmd/libmd.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/libmd/libmd.xibuild b/repo/libmd/libmd.xibuild
new file mode 100644
index 0000000..a36ab9e
--- /dev/null
+++ b/repo/libmd/libmd.xibuild
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+NAME="libmd"
+DESC="Message Digest functions from BSD systems"
+
+MAKEDEPS=""
+
+PKG_VER=1.0.3
+SOURCE="https://archive.hadrons.org/software/libmd/libmd-$PKG_VER.tar.xz"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ install -Dm0644 COPYING "$PKG_DEST"/usr/share/licenses/"libmd"
+}
+