wok-6.x annotate gringotts/receipt @ rev 18452

perl-datetime: more deps
author Nathan Neulinger <nneul@neulinger.org>
date Sun Sep 27 20:14:44 2015 +0000 (2015-09-27)
parents
children ba7cbdb5749c
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@17247 16 # Rules to configure and make the package.
pascal@17247 17 compile_rules()
pascal@17247 18 {
pascal@17247 19 ./configure \
pascal@17247 20 --prefix=/usr \
pascal@17247 21 $CONFIGURE_ARGS &&
pascal@17247 22 make &&
pascal@17247 23 make -j 1 DESTDIR=$DESTDIR install
pascal@17247 24 }
pascal@17247 25
pascal@17247 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17247 27 genpkg_rules()
pascal@17247 28 {
pascal@17247 29 mkdir -p $fs/usr/share/applications
pascal@17247 30 cp -a $install/usr/bin $fs/usr
pascal@17247 31 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@17247 32 cp -a install/usr/share/gnome/apps/Utilities/gringotts.desktop \
pascal@17247 33 $fs/usr/share/applications
pascal@17247 34 sed -i '/X-GNOME-DocPath/d' $fs/usr/share/applications/gringotts.desktop
pascal@17247 35 echo "Categories=Office;" >> $fs/usr/share/applications/gringotts.desktop
pascal@17247 36 }