wok-next view gcr/receipt @ rev 20573
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 17:21:19 2018 +0300 (2018-04-13) |
parents | b367284a8ac3 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gcr"
4 VERSION="3.20.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/stable/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 gtk+3-dev vala \
16 p11-kit-dev libgcrypt-dev"
17 SPLIT="gcr-base gcr gcr-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 libffi libgcrypt libgpg-error p11-kit pcre \
33 util-linux-blkid util-linux-mount util-linux-uuid zlib"
34 CAT="security|base files"
35 ;;
36 gcr)
37 copy @std @rm *.mo
38 cook_copy_icons
39 DEPENDS="gcr-base atk bzlib cairo fontconfig freetype gdk-pixbuf \
40 gtk+3 libharfbuzz liblzma libpng16 libxml2 pango shared-mime-info \
41 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \
42 xorg-libxcb xorg-pixman"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
47 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
48 harfbuzz-dev libffi-dev libgcrypt-dev libgpg-error-dev \
49 libpng16-dev libxml2-dev p11-kit-dev pango-dev pcre-dev \
50 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
51 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
52 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
53 ;;
54 esac
55 }