wok-current view fpm2/receipt @ rev 25692

Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 22 16:28:42 2024 +0000 (7 months ago)
parents 83b97236db32
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fpm2"
4 VERSION="0.90"
5 CATEGORY="utilities"
6 SHORT_DESC="Password manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://als.regnet.cz/fpm2/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 SUGGESTED="fpm2-lang"
15 DEPENDS="expat gcc83-lib-base gtk+3 libxml2 nettle-dev xorg-libX11 xorg-libXau
16 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
17 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender"
18 BUILD_DEPENDS="bash gcc83 glib-dev gtk+3-dev libxml2-dev nettle-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/anager/!d;/span/!d;s|.*>v||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # Need bash for configure:
31 sed -i '1s|sh|bash|' configure
33 ./configure \
34 CC=gcc-83 \
35 --prefix=/usr \
36 --mandir=/usr/share/man &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/pixmaps
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/pixmaps/fpm2/logo.png \
48 $fs/usr/share/pixmaps/fpm2.png
50 # locales
51 # moved to package fpm2-lang
52 # mkdir -p $fs/usr/share/locale
53 # LOCALES="cs de es fr it ru"
54 # for locale in $LOCALES
55 # do
56 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
57 # done
58 }