# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/imlib2_tools/imlib2_tools-0.0.0.20030220_alpha2.ebuild,v 1.3 2003/03/14 21:24:21 agriffis Exp $ DESCRIPTION="command line programs to utilize Imlib2" HOMEPAGE="http://www.enlightenment.org/" SRC_URI="mirror://gentoo/${P}.tar.bz2 http://wh0rd.tk/gentoo/distfiles/${P}.tar.bz2" LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~ppc ~alpha" DEPEND="virtual/glibc sys-devel/gcc >=media-libs/imlib2-1.0.6.2003*" S=${WORKDIR}/${PN} src_compile() { cp autogen.sh{,.old} sed -e 's:.*configure.*::' autogen.sh.old > autogen.sh env USER=BLAH WANT_AUTOCONF_2_5=1 ./autogen.sh || die "could not autogen" econf || die "could not econf" emake || die "could not emake" } src_install() { make install DESTDIR=${D} || die "could not install" find ${D} -name CVS -type d -exec rm -rf '{}' \; dodoc AUTHORS ChangeLog NEWS README TODO }