# SliTaz package receipt.

PACKAGE="xorg-font-util"
VERSION="1.3.2"
CATEGORY="x-window"
SHORT_DESC="X.org Font utilities."
MAINTAINER="pankso@slitaz.org"
DEPENDS="xorg-xcursor-themes"
BUILD_DEPENDS="xorg-util-macros xorg-xcursor-themes"
SOURCE="font-util"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/font/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/share/fonts $fs/usr/share
}