wok view fpm2/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
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 }