# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.1 2003/06/29 06:14:04 vapier Exp $ # # Author: vapier@gentoo.org ECLASS=enlightenment INHERITED="$INHERITED $ECLASS" DESCRIPTION="An DR17 production" HOMEPAGE="http://www.enlightenment.org/" SRC_URI="mirror://gentoo/${P}.tar.bz2 http://wh0rd.de/gentoo/distfiles/${P}.tar.bz2" IUSE="nls" DEPEND="nls? ( sys-devel/gettext )" # the stupid gettextize script prevents non-interactive mode, so we hax it gettext_modify() { use nls || return 0 cp `which gettextize` ${T} || die "could not copy gettextize" cp ${T}/gettextize ${T}/gettextize.old sed -e 's:read dummy < /dev/tty::' ${T}/gettextize.old > ${T}/gettextize }