# SliTaz package receipt.

PACKED_SIZE="24.0K"
UNPACKED_SIZE="44.0K"
PACKAGE="desktop-file-utils"
VERSION="0.23"
CATEGORY="system-tools"
SHORT_DESC="Utilities for .desktop files (update-desktop-database)"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL"

DEPENDS="glib glibc-base pcre"
BUILD_DEPENDS="pkg-config glib-dev"
SPLIT="desktop-file-utils-extra"

# Rules to configure and make the package.
compile_rules()
{
	./configure $CONFIGURE_ARGS && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cook_copy_files update-desktop-database
}
