wok-next view gcr/receipt @ rev 21105

Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 04 17:29:48 2019 +0200 (2019-01-04)
parents d5aab818505e
children 29128929e4f9
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gcr"
4 VERSION="3.28.0"
5 CATEGORY="security"
6 SHORT_DESC="Displaying certificates and accessing key stores"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/gcr/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/gcr.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gcr/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="intltool gtk-doc gobject-introspection-dev gtk3-dev vala \
16 p11-kit-dev libgcrypt-dev"
17 SPLIT="$PACKAGE-base $PACKAGE $PACKAGE-dev"
19 compile_rules() {
20 sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gcr-base)
31 copy libgcr-base-3.so* libgck-1.so*
32 DEPENDS="glib libgcrypt libp11-kit"
33 CAT="security|base files"
34 ;;
35 gcr)
36 copy @std @rm *.mo @ico
37 DEPENDS="libcairo gcr-base gdk-pixbuf glib gtk3 libgcrypt pango"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="gcr gcr-base \
42 glib-dev gtk3-dev p11-kit-dev"
43 ;;
44 esac
45 }