wok-next annotate gcr/receipt @ rev 21048
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 27 02:24:27 2018 +0200 (2018-11-27) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
al@19693 | 2 |
al@19693 | 3 PACKAGE="gcr" |
al@20899 | 4 VERSION="3.28.0" |
al@19693 | 5 CATEGORY="security" |
al@19693 | 6 SHORT_DESC="Displaying certificates and accessing key stores" |
al@19693 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19693 | 8 LICENSE="GPL2" |
al@19693 | 9 WEB_SITE="https://developer.gnome.org/gcr/" |
al@20899 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/gcr.html" |
al@19693 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19693 | 13 WGET_URL="$GNOME_MIRROR/gcr/${VERSION%.*}/$TARBALL" |
al@19693 | 14 |
al@21017 | 15 BUILD_DEPENDS="intltool gtk-doc gobject-introspection-dev gtk3-dev vala \ |
al@19694 | 16 p11-kit-dev libgcrypt-dev" |
al@21020 | 17 SPLIT="$PACKAGE-base $PACKAGE $PACKAGE-dev" |
al@19693 | 18 |
al@20095 | 19 compile_rules() { |
al@20095 | 20 sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml |
al@19693 | 21 |
al@20534 | 22 ./configure $CONFIGURE_ARGS && |
al@20534 | 23 fix libtool && |
al@20534 | 24 make && |
al@20534 | 25 make install |
al@19693 | 26 } |
al@19693 | 27 |
al@20095 | 28 genpkg_rules() { |
al@20095 | 29 case $PACKAGE in |
al@20095 | 30 gcr-base) |
al@20095 | 31 copy libgcr-base-3.so* libgck-1.so* |
al@20749 | 32 DEPENDS="glib libgcrypt libp11-kit" |
al@20095 | 33 CAT="security|base files" |
al@20095 | 34 ;; |
al@20095 | 35 gcr) |
al@20604 | 36 copy @std @rm *.mo @ico |
al@21017 | 37 DEPENDS="cairo gcr-base gdk-pixbuf glib gtk3 libgcrypt pango" |
al@20095 | 38 ;; |
al@20095 | 39 *-dev) |
al@20095 | 40 copy @dev |
al@20749 | 41 DEPENDS="gcr gcr-base \ |
al@21017 | 42 glib-dev gtk3-dev p11-kit-dev" |
al@20095 | 43 ;; |
al@20095 | 44 esac |
al@19693 | 45 } |