wok annotate gnome-keyring/receipt @ rev 24067
linld: add cpu detection
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 15:05:16 2021 +0000 (2021-07-05) |
parents | d37d15244372 |
children | 6831608a1b2a |
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@20671 | 10 WEB_SITE="https://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@20585 | 14 BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool file \ |
pascal@20585 | 15 gtk+-dev" |
pascal@11207 | 16 |
pascal@11207 | 17 # Rules to configure and make the package. |
pascal@11207 | 18 compile_rules() |
pascal@11207 | 19 { |
pascal@18404 | 20 sed -i -e 's|<glib.h>|&\n#include <libtasn1.h>|' \ |
pascal@18404 | 21 -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \ |
pascal@18404 | 22 egg/egg-asn1x.h |
pascal@11207 | 23 ./configure \ |
pascal@11207 | 24 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11207 | 25 --sysconfdir=/etc/gnome \ |
pascal@11207 | 26 --disable-pam && |
pascal@11207 | 27 make && make install |
pascal@11207 | 28 } |
pascal@11207 | 29 |
pascal@11207 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 31 genpkg_rules() |
pascal@11207 | 32 { |
pascal@11207 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11207 | 34 cp -a $install/etc $fs |
pascal@11207 | 35 cp -a $install/usr/bin $fs/usr |
pascal@11207 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11207 | 37 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pascal@11207 | 38 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE |
pascal@11207 | 39 do |
pascal@11207 | 40 cp -a $install/usr/share/$i $fs/usr/share |
pascal@11207 | 41 done |
pascal@11207 | 42 |
pascal@11207 | 43 # Remove devel files. |
pascal@11207 | 44 rm -rf $fs/usr/lib/gnome-keyring/devel |
pascal@11207 | 45 find $fs/usr/lib -name *.*a -exec rm -f {} \; |
pascal@11207 | 46 } |
pascal@11207 | 47 |