wok diff fpm2/receipt @ rev 24666

created recipes for double-conversion and double-conversion-dev
author Hans-G?nter Theisgen
date Fri Mar 11 15:40:49 2022 +0100 (2022-03-11)
parents 83b97236db32
children
line diff
     1.1 --- a/fpm2/receipt	Sat Feb 12 11:42:56 2022 +0000
     1.2 +++ b/fpm2/receipt	Fri Mar 11 15:40:49 2022 +0100
     1.3 @@ -1,20 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fpm2"
     1.7 -VERSION="0.79"
     1.8 +VERSION="0.90"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Password manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://als.regnet.cz/fpm2/"
    1.14  
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="${WEB_SITE}download/$TARBALL"
    1.18  
    1.19 -DEPENDS="expat gtk+ libxml2 xorg-libX11 xorg-libXau xorg-libXcomposite \
    1.20 -xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
    1.21 -xorg-libXrandr xorg-libXrender xorg-libXdamage"
    1.22 -BUILD_DEPENDS="gtk+-dev libxml2-dev"
    1.23 +SUGGESTED="fpm2-lang"
    1.24 +DEPENDS="expat gcc83-lib-base gtk+3 libxml2 nettle-dev xorg-libX11 xorg-libXau
    1.25 +	xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
    1.26 +	xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender"
    1.27 +BUILD_DEPENDS="bash gcc83 glib-dev gtk+3-dev libxml2-dev nettle-dev"
    1.28  
    1.29  # What is the latest version available today?
    1.30  current_version()
    1.31 @@ -26,10 +27,14 @@
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	./configure \
    1.36 -		--prefix=/usr \
    1.37 +	# Need bash for configure:
    1.38 +	sed -i '1s|sh|bash|'	configure
    1.39 +
    1.40 +	./configure			\
    1.41 +		CC=gcc-83		\
    1.42 +		--prefix=/usr		\
    1.43  		--mandir=/usr/share/man &&
    1.44 -	make -j 1 &&
    1.45 +	make &&
    1.46  	make DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49 @@ -37,15 +42,17 @@
    1.50  genpkg_rules()
    1.51  {
    1.52  	mkdir -p $fs/usr/share/pixmaps
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 +
    1.55 +	cp -a $install/usr/bin	$fs/usr
    1.56  	cp -a $install/usr/share/pixmaps/fpm2/logo.png \
    1.57 -		$fs/usr/share/pixmaps/fpm2.png
    1.58 +				$fs/usr/share/pixmaps/fpm2.png
    1.59  
    1.60  	# locales
    1.61 -	mkdir -p $fs/usr/share/locale
    1.62 -	LOCALES="cs de es fr it ru"
    1.63 -	for locale in $LOCALES
    1.64 -		do
    1.65 -		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.66 -		done
    1.67 +	# moved to package fpm2-lang
    1.68 +#	mkdir -p $fs/usr/share/locale
    1.69 +#	LOCALES="cs de es fr it ru"
    1.70 +#	for locale in $LOCALES
    1.71 +#		do
    1.72 +#		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.73 +#		done
    1.74  }