DESCRIPTION=" LingoTeach is a language teaching program" HOMEPAGE="http://www.lingoteach.org/" SRC_URI="http://download.sourceforge.net/lingoteach/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" # Comprehensive list of any and all USE flags leveraged in the ebuild, # with the exception of any ARCH specific flags, i.e. "ppc", "sparc", # "x86" and "alpha". This is a required variable. If the # ebuild doesn't use any USE flags, set to "". IUSE="debug gtk2" DEPEND="dev-util/pkgconfig media-libs/liblingoteach gtk2? ( >=dev-libs/glib-2.0.1 ) gtk2? ( >=x11-libs/gtk+-2.0.1 )" src_compile() { econf \ `use_enable debug` \ `use_with gtk2 gtk-gui` \ || die "Configure failure" emake || die "Make failure" } src_install() { einstall || die "make install failure" dodoc AUTHORS COPYING ChangeLog HACKING NEWS README } pkg_postinst() { einfo "Be sure to emerge lingoteach-sound" }