# SliTaz package receipt.

PACKAGE="xorg-mkfontscale"
VERSION="1.2.1"
CATEGORY="x-window"
SHORT_DESC="Create an index of scalable font files for X."
MAINTAINER="pascal.bellard@slitaz.org"
BUILD_DEPENDS="xorg-util-macros xorg-libfontenc-dev \
freetype-dev harfbuzz-dev xorg-xproto pcre-dev"
DEPENDS="freetype harfbuzz xorg-libfontenc zlib"
SOURCE="mkfontscale"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://xorg.freedesktop.org/"
WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
TAGS="utility xorg fonts"

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

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