diff options
Diffstat (limited to 'x11-misc/gxneur/gxneur-0.10.0.ebuild')
-rw-r--r-- | x11-misc/gxneur/gxneur-0.10.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-misc/gxneur/gxneur-0.10.0.ebuild b/x11-misc/gxneur/gxneur-0.10.0.ebuild new file mode 100644 index 000000000..7fee2a032 --- /dev/null +++ b/x11-misc/gxneur/gxneur-0.10.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit autotools eutils versionator + +DESCRIPTION="GTK+ based GUI for xneur" +HOMEPAGE="http://www.xneur.ru/" +SRC_URI="http://dists.xneur.ru/release-${PV}/tgz/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +COMMON_DEPEND=">=gnome-base/libglade-2.6.0 + >=sys-devel/gettext-0.16.1 + >=x11-libs/gtk+-2.18:2 + >=x11-misc/xneur-$(get_version_component_range 1-2)" +RDEPEND="${COMMON_DEPEND} + nls? ( virtual/libintl )" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext ) + >=dev-util/pkgconfig-0.20" + +src_prepare() { + rm -f m4/{lt~obsolete,ltoptions,ltsugar,ltversion,libtool}.m4 \ + ltmain.sh aclocal.m4 || die + sed -i "s/-Werror -g0//" configure.in || die + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS || die + doicon pixmaps/gxneur.png || die +} |