blob: ad5e2556100ecce6e5dfef2f2c9797a435250a3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/motif-config-0.2.ebuild,v 1.1 2005/02/23 17:50:41 lanius Exp $
inherit multilib
DESCRIPTION="Utility to change the default Motif library"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND="app-shells/bash"
src_unpack(){
einfo "nothing to unpack"
}
src_compile() {
einfo "nothing to compile"
}
src_install () {
exeinto /usr/bin
newexe ${FILESDIR}/motif-config-0.1 motif-config
dosed "s:@@LIBDIR@@:$(get_libdir):g" /usr/bin/motif-config
# for profile
dodir /usr/$(get_libdir)/motif
keepdir /usr/$(get_libdir)/motif
# bitmaps
dodir /usr/include/X11/bitmaps
tar -xjf ${FILESDIR}/bitmaps.tbz2 -C ${D}/usr/include/X11/bitmaps
# bindings
dodir /usr/$(get_libdir)/X11/bindings
tar -xjf ${FILESDIR}/bindings.tbz2 -C ${D}/usr/$(get_libdir)/X11/bindings
# mwm default config
insinto /etc/X11/app-defaults
doins ${FILESDIR}/Mwm.defaults
insinto /etc/X11/mwm
doins ${FILESDIR}/system.mwmrc
dosym /etc/X11/mwm /usr/$(get_libdir)/X11/mwm
}
|