wok-next annotate fpm2/receipt @ rev 17797

Add marco
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 20 20:00:59 2015 -0300 (2015-03-20)
parents fcdd50638150
children a3c581bf52b8
rev   line source
pankso@748 1 # SliTaz package receipt.
pankso@748 2
pankso@748 3 PACKAGE="fpm2"
erjo@4688 4 VERSION="0.76.1"
pankso@748 5 CATEGORY="utilities"
pankso@748 6 SHORT_DESC="Password manager."
pascal@15588 7 MAINTAINER="pankso@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
pascal@15588 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15588 10 WEB_SITE="http://als.regnet.cz/fpm2/"
pascal@15588 11 WGET_URL="http://als.regnet.cz/fpm2/download/$TARBALL"
pascal@15588 12
pascal@2486 13 DEPENDS="expat gtk+ libxml2 xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@2486 14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pascal@2515 15 xorg-libXrandr xorg-libXrender xorg-libXdamage"
pankso@748 16 BUILD_DEPENDS="gtk+-dev libxml2-dev"
pankso@748 17
pankso@748 18 # Rules to configure and make the package.
pankso@748 19 compile_rules()
pankso@748 20 {
pankso@748 21 cd $src
pankso@748 22 ./configure \
pankso@748 23 --prefix=/usr \
pascal@2486 24 --mandir=/usr/share/man &&
pascal@2486 25 make &&
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
pankso@748 36 }