wok-6.x view gnome-keyring/receipt @ rev 21247
Add lpcnet
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 11 17:27:15 2019 +0200 (2019-04-11) |
parents | d37d15244372 |
children | 6831608a1b2a |
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="https://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 file \
15 gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i -e 's|<glib.h>|&\n#include <libtasn1.h>|' \
21 -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \
22 egg/egg-asn1x.h
23 ./configure \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --sysconfdir=/etc/gnome \
26 --disable-pam &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
38 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
39 do
40 cp -a $install/usr/share/$i $fs/usr/share
41 done
43 # Remove devel files.
44 rm -rf $fs/usr/lib/gnome-keyring/devel
45 find $fs/usr/lib -name *.*a -exec rm -f {} \;
46 }