# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Python wrapper for the GD library" HOMEPAGE="http://newcenturycomputers.net/projects/gdmodule.html" SRC_URI="http://newcenturycomputers.net/projects/download.cgi/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="x86" DEPEND="virtual/python >=libgd-1.1.1" S="${WORKDIR}/${P}" src_compile() { python Setup.py build || die "Build failed" } src_install () { python Setup.py install --root ${D} || die "Install failed" dodoc FONT-README.TXT INSTALL README gd-ref.html install-notes.html PKG-INFO }