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

Up cookutils (1034), TiMidity++, alpine, caps, alsaequal
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 08 01:13:43 2018 +0200 (2018-03-08)
parents 51bcfe1a750e
children e1c0edabdcb2
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 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
36 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
37 do
38 cp -a $install/usr/share/$i $fs/usr/share
39 done
41 # Remove devel files.
42 rm -rf $fs/usr/lib/gnome-keyring/devel
43 find $fs/usr/lib -name *.*a -exec rm -f {} \;
44 DEPENDS="libgcrypt libtasn1 python dbus gtk+"
45 ;;
46 *-dev)
47 ;;
48 esac
49 }