wok-current view fpm2/receipt @ rev 23425

fusecloop: arch fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 01 11:42:26 2020 +0200 (2020-04-01)
parents afbaed554b93
children 83b97236db32
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man &&
25 make -j 1 &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/pixmaps/fpm2/logo.png \
35 $fs/usr/share/pixmaps/fpm2.png
37 # locales
38 mkdir -p $fs/usr/share/locale
39 LOCALES="cs de es fr it ru"
40 for locale in $LOCALES
41 do
42 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
43 done
44 }