wok-next view gnome-keyring/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 8940878905f3
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-keyring"
4 VERSION="2.32.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A program that keep password and other secrets for users"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnome.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool gtk+-dev"
15 SPLIT="gnome-keyring-dev"
17 compile_rules() {
18 sed -i -e 's|<glib.h>|&\n#include <libtasn1.h>|' \
19 -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \
20 egg/egg-asn1x.h
21 ./configure \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --sysconfdir=/etc/gnome \
24 --disable-pam &&
25 make && make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gnome-keyring)
31 copy @std
32 DEPENDS="libgcrypt libtasn1 python dbus gtk+"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }