summaryrefslogtreecommitdiff
path: root/repo/libmd/libmd.xibuild
blob: 4688b11cdbfd06112667f0f31a2ee44e6f352c58 (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.4
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"
}