wok annotate fpm2/receipt @ rev 21193
systemd: added build dependency glibc-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 05 17:46:01 2019 +0100 (2019-04-05) |
parents | afbaed554b93 |
children | 83b97236db32 |
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 |
pankso@748 | 19 # Rules to configure and make the package. |
pankso@748 | 20 compile_rules() |
pankso@748 | 21 { |
pankso@748 | 22 ./configure \ |
pankso@748 | 23 --prefix=/usr \ |
pascal@2486 | 24 --mandir=/usr/share/man && |
Hans-G?nter@20936 | 25 make -j 1 && |
pascal@15588 | 26 make DESTDIR=$DESTDIR install |
pankso@748 | 27 } |
pankso@748 | 28 |
pankso@748 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@748 | 30 genpkg_rules() |
pankso@748 | 31 { |
domcox@15771 | 32 mkdir -p $fs/usr/share/pixmaps |
pascal@15588 | 33 cp -a $install/usr/bin $fs/usr |
domcox@15771 | 34 cp -a $install/usr/share/pixmaps/fpm2/logo.png \ |
domcox@15771 | 35 $fs/usr/share/pixmaps/fpm2.png |
Hans-G?nter@20934 | 36 |
Hans-G?nter@20934 | 37 # locales |
Hans-G?nter@20934 | 38 mkdir -p $fs/usr/share/locale |
Hans-G?nter@20934 | 39 LOCALES="cs de es fr it ru" |
Hans-G?nter@20934 | 40 for locale in $LOCALES |
Hans-G?nter@20934 | 41 do |
Hans-G?nter@20934 | 42 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
Hans-G?nter@20934 | 43 done |
pankso@748 | 44 } |