summaryrefslogtreecommitdiff
path: root/repo/system/libgpg-error/libgpg-error.xibuild
blob: 7498665d550a01ab5e0382f9dfe964efa669c2a5 (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
32
#!/bin/sh

MAKEDEPS="make"
DEPS="musl"

PKG_VER=1.42
SOURCE=https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-$PKG_VER.tar.bz2
DESC="Support library for libgcrypt"

prepare() {
	default_prepare
	aclocal
	automake
}

build () {
    ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-static \
		--disable-nls
	make

}

package () {
    make DESTDIR=$PKG_DEST install
}