wok-6.x annotate gnome-keyring/receipt @ rev 25198
updated python-jedi (0.16.0 -> 0.17.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 13:40:45 2022 +0100 (2022-07-13) |
parents | 6e8b1bcb30e2 |
children |
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@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
pascal@11207 | 23 # Rules to configure and make the package. |
pascal@11207 | 24 compile_rules() |
pascal@11207 | 25 { |
pascal@18404 | 26 sed -i -e 's|<glib.h>|&\n#include <libtasn1.h>|' \ |
pascal@18404 | 27 -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \ |
pascal@18404 | 28 egg/egg-asn1x.h |
pascal@11207 | 29 ./configure \ |
pascal@11207 | 30 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11207 | 31 --sysconfdir=/etc/gnome \ |
pascal@11207 | 32 --disable-pam && |
pascal@11207 | 33 make && make install |
pascal@11207 | 34 } |
pascal@11207 | 35 |
pascal@11207 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 37 genpkg_rules() |
pascal@11207 | 38 { |
pascal@11207 | 39 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11207 | 40 cp -a $install/etc $fs |
pascal@11207 | 41 cp -a $install/usr/bin $fs/usr |
pascal@11207 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11207 | 43 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pascal@11207 | 44 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE |
pascal@11207 | 45 do |
pascal@11207 | 46 cp -a $install/usr/share/$i $fs/usr/share |
pascal@11207 | 47 done |
pascal@11207 | 48 |
pascal@11207 | 49 # Remove devel files. |
pascal@11207 | 50 rm -rf $fs/usr/lib/gnome-keyring/devel |
pascal@11207 | 51 find $fs/usr/lib -name *.*a -exec rm -f {} \; |
pascal@11207 | 52 } |
pascal@11207 | 53 |