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