# SliTaz package receipt.

PACKAGE="xorg-printproto"
SOURCE="printproto"
VERSION="1.0.5"
CATEGORY="development"
SHORT_DESC="Xorg server devel module."
MAINTAINER="rcx@zoominternet.net"
DEPENDS="xorg-util-macros"
BUILD_DEPENDS="xorg-util-macros"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/proto/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--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
	cp -a $_pkg/usr $fs
}