diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-06-29 06:14:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-06-29 06:14:04 +0000 |
commit | 1eb8e3f97b25862ac8e82088f88b5fb6a325efd6 (patch) | |
tree | 88ff1a1960f7616fcc157da8a82d4545d4ce8c30 /eclass/enlightenment.eclass | |
parent | version bump (diff) | |
download | gentoo-2-1eb8e3f97b25862ac8e82088f88b5fb6a325efd6.tar.gz gentoo-2-1eb8e3f97b25862ac8e82088f88b5fb6a325efd6.tar.bz2 gentoo-2-1eb8e3f97b25862ac8e82088f88b5fb6a325efd6.zip |
eclass for dr17 pkgs
Diffstat (limited to 'eclass/enlightenment.eclass')
-rw-r--r-- | eclass/enlightenment.eclass | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass new file mode 100644 index 000000000000..e9cca6d2957d --- /dev/null +++ b/eclass/enlightenment.eclass @@ -0,0 +1,25 @@ +# 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 +} |