user/xmlsec: drop for in aports

This commit is contained in:
Antoine Martin 2024-04-14 17:29:57 -04:00
parent 9ed9fda2ac
commit faccdf4ebf

View file

@ -1,54 +0,0 @@
# 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="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
"