wok-current view gnome-keyring/receipt @ rev 19708

pxe-kexec, scilab, uhd: add -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 15 11:22:40 2017 +0100 (2017-02-15)
parents 380ffe05937a
children d37d15244372
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libgcrypt libtasn1 python dbus gtk+"
14 BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i -e 's|<glib.h>|&\n#include <libtasn1.h>|' \
20 -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \
21 egg/egg-asn1x.h
22 ./configure \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --sysconfdir=/etc/gnome \
25 --disable-pam &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $install/etc $fs
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
37 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
38 do
39 cp -a $install/usr/share/$i $fs/usr/share
40 done
42 # Remove devel files.
43 rm -rf $fs/usr/lib/gnome-keyring/devel
44 find $fs/usr/lib -name *.*a -exec rm -f {} \;
45 }