wok-6.x view gnome-keyring/receipt @ rev 11931

clamav: improve package
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 02:34:58 2012 +0100 (2012-03-01)
parents
children 478965c9dd3d
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnome.org"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libgcrypt libtasn1 python dbus"
13 BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --libexecdir=/usr/lib/$PACKAGE \
21 --sysconfdir=/etc/gnome \
22 --disable-pam &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $install/etc $fs
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
34 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
35 do
36 cp -a $install/usr/share/$i $fs/usr/share
37 done
39 # Remove devel files.
40 rm -rf $fs/usr/lib/gnome-keyring/devel
41 find $fs/usr/lib -name *.*a -exec rm -f {} \;
42 }