summaryrefslogtreecommitdiff
path: root/repo/npth/npth.xibuild
blob: 2d3d5d4c0de1cf8277414c46b582c37b27a25e9c (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
30
31
#!/bin/sh

NAME="npth"
DESC="The New GNU Portable Threads library"

MAKEDEPS=""

PKG_VER=1.6
SOURCE="https://gnupg.org/ftp/gcrypt/npth/npth-$PKG_VER.tar.bz2"

build() {
	cd "$BUILD_ROOT"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	cd "$BUILD_ROOT"
	make check
}

package() {
	cd "$BUILD_ROOT"
	make DESTDIR="$PKG_DEST" install
}