wok-current view gringotts/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (9 months ago)
parents 4484b8b94160
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gringotts"
4 VERSION="1.2.10"
5 CATEGORY="security"
6 SHORT_DESC="An electronic strongbox."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gringotts.shlomifish.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE.berlios/$TARBALL"
13 DEPENDS="gtk+ libgringotts popt"
14 BUILD_DEPENDS="pkg-config gtk+-dev libgringotts-dev popt-dev libmcrypt-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Released/!d;s|.*Gringotts ||;s| was.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make -j 1 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/applications
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/pixmaps $fs/usr/share
39 cp -a install/usr/share/gnome/apps/Utilities/gringotts.desktop \
40 $fs/usr/share/applications
41 sed -i '/X-GNOME-DocPath/d' $fs/usr/share/applications/gringotts.desktop
42 echo "Categories=Office;" >> $fs/usr/share/applications/gringotts.desktop
43 }