p11-kit-32: Converted to meson build

This commit is contained in:
Danny Rawlins 2021-11-15 23:05:59 +11:00
parent dda3e55450
commit db23816e22
3 changed files with 16 additions and 23 deletions

View File

@ -1,15 +1,9 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib32/
-rwxr-xr-x root/root usr/lib32/libp11-kit.la
lrwxrwxrwx root/root usr/lib32/libp11-kit.so -> libp11-kit.so.0.3.0
lrwxrwxrwx root/root usr/lib32/libp11-kit.so -> libp11-kit.so.0
lrwxrwxrwx root/root usr/lib32/libp11-kit.so.0 -> libp11-kit.so.0.3.0
-rwxr-xr-x root/root usr/lib32/libp11-kit.so.0.3.0
lrwxrwxrwx root/root usr/lib32/p11-kit-proxy.so -> libp11-kit.so.0.3.0
lrwxrwxrwx root/root usr/lib32/p11-kit-proxy.so -> libp11-kit.so.0
drwxr-xr-x root/root usr/lib32/p11-kit/
drwxr-xr-x root/root usr/lib32/pkcs11/
-rwxr-xr-x root/root usr/lib32/pkcs11/p11-kit-client.la
-rwxr-xr-x root/root usr/lib32/pkcs11/p11-kit-client.so
-rwxr-xr-x root/root usr/lib32/pkcs11/p11-kit-trust.la
-rwxr-xr-x root/root usr/lib32/pkcs11/p11-kit-trust.so
drwxr-xr-x root/root usr/lib32/pkgconfig/
-rw-r--r-- root/root usr/lib32/pkgconfig/p11-kit-1.pc

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXSVDeGkjeKrFtzaZ83/z/bl2k/6/I/sS4wBCopX0CTRZSLgwrdf/6u7zxm1afQIB71Xn53N86IXvZmq3rBY8iQI=
SHA256 (Pkgfile) = 1a83a65d3fabca78b40a488ee4c9e4aff7653312ec9a4d34f0e272ad0e3db5f7
SHA256 (.footprint) = 5598e0af8ed235442a6d9f0bab09c4d9c0427264c1dd6cdbc18c6f4e35bf1a52
RWSwxGo/zH7eXVoNhrlVi56ls2ozl8Bf4iTZG98S564cbZW8FZNpLwZXfxIaxCTYsi/Cukoee+u13g7QmSbRhbjhZNxsKU2QiAc=
SHA256 (Pkgfile) = 6d99e3eecdeefd360b80d1ff7253a026b76aa2ccb56c11b8e2f0e7454465d2ac
SHA256 (.footprint) = b64537a81a2e4bca1874a7da896160cf4daa210cd47ce3aece505643107fe660
SHA256 (p11-kit-0.24.0.tar.xz) = 81e6140584f635e4e956a1b93a32239acf3811ff5b2d3a5c6094e94e99d2c685

View File

@ -9,22 +9,21 @@ release=1
source=(https://github.com/p11-glue/${name%-*}/releases/download/$version/${name%-*}-$version.tar.xz)
build() {
cd ${name%-*}-$version
./configure \
meson setup p11-kit-$version build \
--prefix=/usr \
--libdir=/usr/lib32 \
--libexecdir=/usr/lib32 \
--sysconfdir=/etc \
--localstatedir=/var \
--host=i686-pc-linux-gnu \
--with-module-path=/usr/lib32/pkcs11 \
--with-trust-paths=/etc/pki/anchors
make
make DESTDIR=$PKG install
--buildtype=plain \
--wrap-mode=nodownload \
-D b_lto=true \
-D b_pie=true \
-D trust_paths=/etc/pki/anchors \
-D module_path=/usr/lib/pkcs11 \
-D nls=false
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -r \
$PKG/etc $PKG/usr/{bin,include,share} \
$PKG/etc $PKG/usr/{bin,lib,include,share} \
$PKG/usr/lib32/p11-kit/{trust-extract-compat,p11-kit-{remote,server}}
}