wok-6.x annotate gnome-keyring/receipt @ rev 18663
Up tazpkg(880); change pre- post-functions, etc. in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 02:45:17 2015 +0200 (2015-12-04) |
parents | 380ffe05937a |
children | d37d15244372 |
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@18404 | 19 sed -i -e 's|<glib.h>|&\n#include <libtasn1.h>|' \ |
pascal@18404 | 20 -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \ |
pascal@18404 | 21 egg/egg-asn1x.h |
pascal@11207 | 22 ./configure \ |
pascal@11207 | 23 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11207 | 24 --sysconfdir=/etc/gnome \ |
pascal@11207 | 25 --disable-pam && |
pascal@11207 | 26 make && make install |
pascal@11207 | 27 } |
pascal@11207 | 28 |
pascal@11207 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 30 genpkg_rules() |
pascal@11207 | 31 { |
pascal@11207 | 32 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11207 | 33 cp -a $install/etc $fs |
pascal@11207 | 34 cp -a $install/usr/bin $fs/usr |
pascal@11207 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11207 | 36 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pascal@11207 | 37 for i in dbus-1 GConf gcr glib-2.0 $PACKAGE |
pascal@11207 | 38 do |
pascal@11207 | 39 cp -a $install/usr/share/$i $fs/usr/share |
pascal@11207 | 40 done |
pascal@11207 | 41 |
pascal@11207 | 42 # Remove devel files. |
pascal@11207 | 43 rm -rf $fs/usr/lib/gnome-keyring/devel |
pascal@11207 | 44 find $fs/usr/lib -name *.*a -exec rm -f {} \; |
pascal@11207 | 45 } |
pascal@11207 | 46 |