# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="TiEmu - a TI89(ti)/92(+)/V200 emulator" HOMEPAGE="http://lpg.ticalc.org/prj_tiemu/" SRC_URI="http://lpg.ticalc.org/prj_tiemu/downloads/${PN}-2.00-rc1.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="nls" S=${WORKDIR}/${PN}-2.00-rc1/ DEPEND=">=sci-libs/libticables-3.9.1 >=sci-libs/libticalcs-4.5.9 >=sci-libs/libtifiles-0.6.4 >=dev-libs/glib-2.4.0 >=gnome-base/libglade-2.4.0 >=x11-libs/gtk+-2.4.0 nls? ( sys-devel/gettext )" src_compile() { local myconf="$(use_enable nls)" econf ${myconf} || die cd ${S} make # emake || die } src_install() { # The SHARE_DIR is required since it isn't set properly in a makefile. make DESTDIR=${D} install || die dodoc AUTHORS COPYING LICENSES NEWS README README.linux RELEASE TODO }