# SliTaz package receipt.

PACKAGE="setuptools"
VERSION="0.6c11"
CATEGORY="misc"
SHORT_DESC="Python package installation tool."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://pypi.python.org/pypi/setuptools"
WGET_URL="http://pypi.python.org/packages/source/s/setuptools/$TARBALL"
DEPENDS="python python-dev"
BUILD_DEPENDS="python python-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py build &&
	python setup.py install --root=$PWD/_pkg
}

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