/[gentoo-x86]/x11-misc/xkeyboard-config/xkeyboard-config-1.4.ebuild
Gentoo

Contents of /x11-misc/xkeyboard-config/xkeyboard-config-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jun 23 21:19:44 2009 UTC (9 years, 1 month ago) by remi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
x11-misc/xkeyboard-config: drop old ebuilds (will drop 1.1 later)
(Portage version: 2.2_rc33/cvs/Linux i686)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeyboard-config/xkeyboard-config-1.4.ebuild,v 1.3 2008/10/23 09:39:36 remi Exp $
4
5 inherit eutils multilib
6
7 DESCRIPTION="X keyboard configuration database"
8 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
9 HOMEPAGE="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
10 SRC_URI="http://xlibs.freedesktop.org/xkbdesc/${P}.tar.bz2"
11
12 LICENSE="MIT"
13 SLOT="0"
14
15 IUSE=""
16 RDEPEND="!x11-misc/xkbdata"
17 DEPEND="${RDEPEND}
18 >=dev-util/intltool-0.30
19 dev-perl/XML-Parser
20 x11-apps/xkbcomp"
21
22 pkg_setup() {
23 # (#130590) The old XKB directory can screw stuff up
24 local DIR="${ROOT}usr/$(get_libdir)/X11/xkb"
25 if [[ -d ${DIR} ]] ; then
26 eerror "Directory ${DIR} should be"
27 eerror "manually deleted/renamed/relocated before installing!"
28 die "Manually remove ${DIR}"
29 fi
30
31 # The old xkbdata 'pc' directory can screw stuff up, because portage won't
32 # let us overwrite a directory with a file
33 local PC="${ROOT}usr/share/X11/xkb/symbols/pc"
34 if [[ -d ${PC} ]] ; then
35 eerror "Directory ${PC} should be"
36 eerror "manually deleted/renamed/relocated before installing!"
37 die "Manually remove ${PC}"
38 fi
39 }
40
41 src_compile() {
42 econf \
43 --with-xkb-base=/usr/share/X11/xkb \
44 --enable-compat-rules \
45 --disable-xkbcomp-symlink \
46 --with-xkb-rules-symlink=xorg \
47 || die "configure failed"
48
49 emake || die "make failed"
50 }
51
52 src_install() {
53 emake DESTDIR="${D}" install || die "install failed"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20