# SliTaz package receipt.

PACKAGE="xorg-xfontsel"
VERSION="1.0.3"
CATEGORY="x-window"
SHORT_DESC="point and click selection utility of X11 font names"
MAINTAINER="jozee@slitaz.org"
SOURCE="xfontsel"
TARBALL="$SOURCE-$VERSION.tar.bz2"
DEPENDS="xorg-libXaw"
BUILD_DEPENDS="xorg-libXaw-dev"
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=$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/X11 $fs/usr/share
}