wok-current diff gringotts/receipt @ rev 21984

linld: x86 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 14 11:20:06 2019 +0200 (2019-10-14)
parents
children ba7cbdb5749c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gringotts/receipt	Mon Oct 14 11:20:06 2019 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gringotts"
     1.7 +VERSION="1.2.10"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="An electronic strongbox."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://gringotts.shlomifish.org/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE.berlios/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gtk+ libgringotts popt"
    1.17 +BUILD_DEPENDS="pkg-config gtk+-dev libgringotts-dev popt-dev libmcrypt-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make -j 1 DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share/applications
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.35 +	cp -a install/usr/share/gnome/apps/Utilities/gringotts.desktop \
    1.36 +		$fs/usr/share/applications
    1.37 +	sed -i '/X-GNOME-DocPath/d' $fs/usr/share/applications/gringotts.desktop
    1.38 +	echo "Categories=Office;" >> $fs/usr/share/applications/gringotts.desktop
    1.39 +}