# SliTaz package receipt.

PACKAGE="xorg-gccmakedep"
VERSION="1.0.2"
CATEGORY="x-window"
SHORT_DESC="X gccmakedep utility."
MAINTAINER="pascal.bellard@slitaz.org"
BUILD_DEPENDS="xorg-dev-proto"
SOURCE="gccmakedep"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/util/$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
	chmod +x $PWD/_pkg/usr/bin/*
}

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