summaryrefslogtreecommitdiff
path: root/repo/xmlsec/xmlsec.xibuild
blob: d93882d28c439c48bc5909c7f22fbab20854c37e (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="xmlsec"
DESC="C based implementation for XML Signature Syntax and Processing and XML Encryption Syntax and Processing"

MAKEDEPS=" libxml2 libxslt openssl nss autoconf automake libtool"

PKG_VER=1.2.34
SOURCE="https://github.com/lsh123/xmlsec/archive/refs/tags/xmlsec-$(echo $PKG_VER | sed 's/\./_/g').tar.gz"

prepare() {
	autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--disable-static \
		--enable-pkgconfig \
		--with-openssl=/usr \
		--without-gnutls \
		--without-gcrypt \
		--with-default-crypto=openssl
	make
}

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