summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libxklavier/libxklavier-1.03.ebuild')
-rw-r--r--x11-libs/libxklavier/libxklavier-1.03.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/x11-libs/libxklavier/libxklavier-1.03.ebuild b/x11-libs/libxklavier/libxklavier-1.03.ebuild
new file mode 100644
index 000000000000..02e4235079fd
--- /dev/null
+++ b/x11-libs/libxklavier/libxklavier-1.03.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxklavier/libxklavier-1.03.ebuild,v 1.1 2004/09/19 11:00:29 foser Exp $
+
+inherit eutils
+
+DESCRIPTION="High level XKB library"
+HOMEPAGE="http://www.freedesktop.org/Software/LibXklavier"
+SRC_URI="mirror://sourceforge/gswitchit/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~hppa ~alpha ~ia64 ~mips ~ppc64"
+IUSE="doc"
+
+RDEPEND="virtual/x11
+ dev-libs/libxml2"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+ use sparc && epatch "${FILESDIR}/sun-keymaps-102.patch"
+
+}
+
+src_compile() {
+
+ econf $(use_enable doc doxygen) || die
+ emake || die "emake failed"
+
+}
+
+src_install() {
+
+ einstall || die
+ insinto /usr/share/libxklavier
+ use sparc && doins "${FILESDIR}/sun.xml"
+ dodoc AUTHORS CREDITS ChangeLog NEWS README
+
+}