summaryrefslogtreecommitdiff
path: root/repo/libmd/libmd.xibuild
blob: a36ab9e21d942fefe93732bf3029562313e04b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
}