# Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg1.3-rc2.ebuild DESCRIPTION="The "Img" package adds a lot of image formats to Tcl/Tk." HOMEPAGE="http://sourceforge.net/projects/tkimg/" SRC_URI="mirror://sourceforge/tkimg/${PN}1.3rc2.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="x86" DEPEND="dev-lang/tk" src_unpack() { unpack ${A} mv ${WORKDIR}/${PN}1.3rc2 ${S} cd ${S} } src_compile() { econf \ --enable-gcc \ --with-tcl=/usr/lib \ --with-tk=/usr/lib \ --enable-stubs \ --enable-threads \ --enable-shared || die "./configure failed" make || die } src_install() { einstall || die }