wok-current annotate fpm2/receipt @ rev 25590

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