# SliTaz package receipt.

PACKAGE="python-idle"
VERSION="2.7.18"
CATEGORY="development"
SHORT_DESC="Python GUI IDE using TK Toolkit."
MAINTAINER="pankso@slitaz.org"
LICENSE="PSL"
WEB_SITE="https://www.python.org/"

DEPENDS="python tcl tk"
WANTED="python"

HOST_ARCH="i486 arm"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	python_version=${VERSION%.*}
	mkdir -p $fs/usr/bin
	mkdir -p $fs/usr/lib/python$python_version

	cp -a $install/usr/bin/idle		$fs/usr/bin
	cp -a $install/usr/lib/python$python_version/idlelib \
						$fs/usr/lib/python$python_version
}