# SliTaz package receipt.

PACKAGE="xorg-glproto"
VERSION="1.4.12"
CATEGORY="development"
SHORT_DESC="Xorg server fixes protocol."
MAINTAINER="pankso@slitaz.org"
DEPENDS="xorg-util-macros"
BUILD_DEPENDS="xorg-util-macros"
SOURCE="glproto"
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 --sysconfdir=/etc \
		--mandir=/usr/share/man --localstatedir=/var \
		$CONFIGURE_ARGS
	make
	make DESTDIR=$PWD/_pkg install
}

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