wok annotate gnome-keyring/receipt @ rev 15063
hdf5: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:59:59 2013 +0000 (2013-08-13) |
parents | 71fdf2bac4d0 |
children | 51bcfe1a750e |
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@15000 | 8 LICENSE="GPL2" |
pascal@11207 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11207 | 10 WEB_SITE="http://www.gnome.org" |
pascal@11207 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11207 | 12 |
gokhlayeh@12074 | 13 DEPENDS="libgcrypt libtasn1 python dbus gtk+" |
pascal@13029 | 14 BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool gtk+-dev" |
pascal@11207 | 15 |
pascal@11207 | 16 # Rules to configure and make the package. |
pascal@11207 | 17 compile_rules() |
pascal@11207 | 18 { |
pascal@11207 | 19 cd $src |
pascal@11207 | 20 ./configure \ |
pascal@11207 | 21 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11207 | 22 --sysconfdir=/etc/gnome \ |
pascal@11207 | 23 --disable-pam && |
pascal@11207 | 24 make && make install |
pascal@11207 | 25 } |
pascal@11207 | 26 |
pascal@11207 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 28 genpkg_rules() |
pascal@11207 | 29 { |
pascal@11207 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11207 | 31 cp -a $install/etc $fs |
pascal@11207 | 32 cp -a $install/usr/bin $fs/usr |
pascal@11207 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11207 | 34 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pascal@11207 | 35 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE |
pascal@11207 | 36 do |
pascal@11207 | 37 cp -a $install/usr/share/$i $fs/usr/share |
pascal@11207 | 38 done |
pascal@11207 | 39 |
pascal@11207 | 40 # Remove devel files. |
pascal@11207 | 41 rm -rf $fs/usr/lib/gnome-keyring/devel |
pascal@11207 | 42 find $fs/usr/lib -name *.*a -exec rm -f {} \; |
pascal@11207 | 43 } |
pascal@11207 | 44 |