wok-current view gcr/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | a23978bfa665 |
children | bf7fc7b1447c |
line source
1 # Slitaz package receipt.
3 PACKAGE="gcr"
4 VERSION="3.40.0"
5 CATEGORY="security"
6 SHORT_DESC="Displaying certificates and access key stores"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/gcr/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="intltool gtk-doc gobject-introspection-dev \
14 gtk+3-dev vala p11-kit-dev libgcrypt-dev gnupg meson"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Patch to work with new meson
20 # see https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/81/diffs
21 patch -p1 < $stuff/remove-packages-arg-meson-0.61.patch
23 meson build \
24 --prefix=/usr \
25 --libdir=lib \
26 --bindir=/usr/bin \
27 --sbindir=/usr/sbin \
28 --buildtype=release \
29 -Dintrospection=true \
30 -Dgtk=true \
31 -Dgtk_doc=false &&
32 ninja -C build &&
33 ninja -C build install
34 }
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/libexec $fs/usr
42 }