SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "homebank"

# SliTaz package receipt

PACKAGE="homebank"
VERSION="4.4"
CATEGORY="office"
SHORT_DESC="Personal accounts manager."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://launchpad.net/homebank"
WGET_URL="http://distro.ibiblio.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
TAGS="office finance"

DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="intltool gtk+-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    # GTK+ dont support svg
    sed -i s/svg/png/ src/*.c
    chmod +x install-sh
    ./configure --without-ofx &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/homebank $fs/usr/share/icons/hicolor

    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/homebank/images $fs/usr/share/homebank
    cp -a $install/usr/share/icons/hicolor/48x48 $fs/usr/share/icons/hicolor
}
6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)