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