54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
# Contributor: Sander Maijers <S.N.Maijers+Alpine@gmail.com>
|
|
# Maintainer: Sander Maijers <S.N.Maijers+Alpine@gmail.com>
|
|
pkgname=xmlsec
|
|
pkgver=1.2.37
|
|
pkgrel=0
|
|
pkgdesc="C based implementation for XML Signature Syntax and Processing and XML Encryption Syntax and Processing"
|
|
url="https://github.com/lsh123/xmlsec/"
|
|
arch="!armv7 all"
|
|
license="MIT"
|
|
makedepends="
|
|
libtool
|
|
libxml2-dev
|
|
libxslt-dev
|
|
nss-dev
|
|
openssl-dev>3
|
|
"
|
|
checkdepends="nss-tools"
|
|
options="libtool !check" # disable tests til https://github.com/lsh123/xmlsec/issues/308 is fixed
|
|
subpackages="$pkgname-nss $pkgname-dev $pkgname-doc"
|
|
source="https://github.com/lsh123/xmlsec/releases/download/xmlsec-${pkgver//./_}/xmlsec1-$pkgver.tar.gz"
|
|
builddir="$srcdir/xmlsec1-$pkgver"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-pkgconfig \
|
|
--with-openssl=/usr \
|
|
--without-gnutls \
|
|
--without-gcrypt \
|
|
--with-default-crypto=openssl
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
nss() {
|
|
pkgdesc="xmlsec nss plugin"
|
|
install_if="$pkgname=$pkgver-r$pkgrel nss"
|
|
|
|
amove usr/lib/libxmlsec1-nss.so*
|
|
}
|
|
|
|
sha512sums="
|
|
99220cb28a346ffac0023f9f177d6a7be3ddcea04bea434b7dc926c1f0aaa5564d75f74f92896ac100179c04d77e001f688ddf46fed4e0a0b4f20b7b87c24900 xmlsec1-1.2.37.tar.gz
|
|
"
|