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

dia: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 15 11:32:14 2012 +0200 (2012-05-15)
parents 5647557ead5c
children 71fdf2bac4d0
rev   line source
pascal@11207 1 # SliTaz package receipt.
pascal@11207 2
pascal@11207 3 PACKAGE="gnome-keyring"
pascal@11207 4 VERSION="2.32.1"
pascal@11207 5 CATEGORY="x-window"
pascal@11207 6 SHORT_DESC="A program that keep password and other secrets for users."
pascal@11207 7 MAINTAINER="pankso@slitaz.org"
pascal@11207 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11207 9 WEB_SITE="http://www.gnome.org"
pascal@11207 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11207 11
gokhlayeh@12074 12 DEPENDS="libgcrypt libtasn1 python dbus gtk+"
gokhlayeh@12074 13 BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool"
pascal@11207 14
pascal@11207 15 # Rules to configure and make the package.
pascal@11207 16 compile_rules()
pascal@11207 17 {
pascal@11207 18 cd $src
pascal@11207 19 ./configure \
pascal@11207 20 --libexecdir=/usr/lib/$PACKAGE \
pascal@11207 21 --sysconfdir=/etc/gnome \
pascal@11207 22 --disable-pam &&
pascal@11207 23 make && make install
pascal@11207 24 }
pascal@11207 25
pascal@11207 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11207 27 genpkg_rules()
pascal@11207 28 {
pascal@11207 29 mkdir -p $fs/usr/lib $fs/usr/share
pascal@11207 30 cp -a $install/etc $fs
pascal@11207 31 cp -a $install/usr/bin $fs/usr
pascal@11207 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11207 33 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
pascal@11207 34 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
pascal@11207 35 do
pascal@11207 36 cp -a $install/usr/share/$i $fs/usr/share
pascal@11207 37 done
pascal@11207 38
pascal@11207 39 # Remove devel files.
pascal@11207 40 rm -rf $fs/usr/lib/gnome-keyring/devel
pascal@11207 41 find $fs/usr/lib -name *.*a -exec rm -f {} \;
pascal@11207 42 }
pascal@11207 43