wok-next annotate gnome-keyring/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a3c581bf52b8
children d5aab818505e
rev   line source
al@20462 1 # SliTaz package receipt v2.
pascal@11207 2
pascal@11207 3 PACKAGE="gnome-keyring"
pascal@11207 4 VERSION="2.32.1"
pascal@11207 5 CATEGORY="x-window"
al@20462 6 SHORT_DESC="A program that keep password and other secrets for users"
pascal@11207 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://www.gnome.org/"
al@20462 10
pascal@11207 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20462 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11207 13
al@21017 14 BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool gtk2-dev"
al@21017 15 SPLIT="$PACKAGE-dev"
pascal@11207 16
al@20462 17 compile_rules() {
pascal@18404 18 sed -i -e 's|<glib.h>|&\n#include <libtasn1.h>|' \
pascal@18404 19 -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \
pascal@18404 20 egg/egg-asn1x.h
al@20534 21
pascal@11207 22 ./configure \
pascal@11207 23 --libexecdir=/usr/lib/$PACKAGE \
pascal@11207 24 --sysconfdir=/etc/gnome \
pascal@11207 25 --disable-pam &&
al@20570 26 fix libtool &&
al@20534 27 make &&
al@20534 28 make install
pascal@11207 29 }
pascal@11207 30
al@20462 31 genpkg_rules() {
al@20462 32 case $PACKAGE in
al@20462 33 gnome-keyring)
al@20473 34 copy @std
al@21017 35 DEPENDS="libgcrypt libtasn1 python dbus gtk2"
al@20462 36 ;;
al@20462 37 *-dev)
al@20473 38 copy @dev
al@20462 39 ;;
al@20462 40 esac
pascal@11207 41 }