summaryrefslogtreecommitdiff
path: root/p11-kit-32/Pkgfile
blob: a8e9b0c40b7cfc82ac56816d214c3834efa9f921 (plain)
    1 # Description: Provides a way to load and enumerate PKCS#11 modules
    2 # URL: https://p11-glue.github.io/p11-glue/p11-kit.html
    3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
    4 # Depends on: libffi-32 libtasn1-32 p11-kit
    5 
    6 name=p11-kit-32
    7 version=0.23.18
    8 release=1
    9 source=(https://github.com/p11-glue/${name%-*}/releases/download/$version/${name%-*}-$version.tar.gz)
   10 
   11 build() {
   12 	cd ${name%-*}-$version
   13 
   14 	./configure \
   15 		--prefix=/usr \
   16 		--libdir=/usr/lib32 \
   17 		--libexecdir=/usr/lib32 \
   18 		--sysconfdir=/etc \
   19 		--localstatedir=/var \
   20 		--host=i686-pc-linux-gnu \
   21 		--with-module-path=/usr/lib32/pkcs11 \
   22 		--with-trust-paths=/etc/pki/anchors
   23 
   24 	make
   25 	make DESTDIR=$PKG install
   26 
   27 	rm -r \
   28 		$PKG/etc $PKG/usr/{bin,include,share} \
   29 		$PKG/usr/lib32/p11-kit/{trust-extract-compat,p11-kit-{remote,server}}
   30 }

Generated by cgit