wok-6.x view fpm2/receipt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
parents | 94ddf62c060b |
children | 8091caa34c54 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fpm2"
4 VERSION="0.79"
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.bz2"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 DEPENDS="expat gtk+ libxml2 xorg-libX11 xorg-libXau xorg-libXcomposite \
15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
16 xorg-libXrandr xorg-libXrender xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev libxml2-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/anager/!d;/span/!d;s|.*>v||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man &&
32 make -j 1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/pixmaps/fpm2/logo.png \
42 $fs/usr/share/pixmaps/fpm2.png
44 # locales
45 mkdir -p $fs/usr/share/locale
46 LOCALES="cs de es fr it ru"
47 for locale in $LOCALES
48 do
49 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
50 done
51 }