--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+DESCRIPTION="Converts Ipe-5 files to Ipe-6 xml files"
+HOMEPAGE="http://ipe7.sourceforge.net/"
+SRC_URI="http://sourceforge.net/projects/ipe7/files/tools/${P}.tar.gz/download
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ mv $WORKDIR/$PN $WORKDIR/$P
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ base=$WORKDIR/${P}
+ exeinto /usr/bin/
+ doexe $base/ipe5toxml
+}
+
+