summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-07-14 23:01:40 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-07-14 23:01:40 +0000
commit0694fb9a0ece4cdf5a7191130b7bbcafb5058ab9 (patch)
tree0302e439a5fade671d2d9e87f6dde1b9204b7264 /eclass
parentNew gentoolkit revision fixes fairly critical bug in etc-update (diff)
downloadgentoo-2-0694fb9a0ece4cdf5a7191130b7bbcafb5058ab9.tar.gz
gentoo-2-0694fb9a0ece4cdf5a7191130b7bbcafb5058ab9.tar.bz2
gentoo-2-0694fb9a0ece4cdf5a7191130b7bbcafb5058ab9.zip
small tweaks
Diffstat (limited to 'eclass')
-rw-r--r--eclass/commonbox.eclass13
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/commonbox.eclass b/eclass/commonbox.eclass
index 0fdcd5cb583b..439f7b9aa7c0 100644
--- a/eclass/commonbox.eclass
+++ b/eclass/commonbox.eclass
@@ -1,7 +1,7 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Author: Seemant Kulleen <seemant@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/commonbox.eclass,v 1.1 2002/07/14 21:39:03 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/commonbox.eclass,v 1.2 2002/07/14 23:01:40 seemant Exp $
# The commonbox eclass is designed to allow easier installation of the box
# window managers such as blackbox and fluxbox and commonbox
@@ -75,6 +75,7 @@ commonbox_src_compile() {
commonbox_src_install() {
+ dodir /usr/share/commonbox
einstall || die
dodoc README* AUTHORS TODO* ${mydoc}
@@ -84,7 +85,15 @@ commonbox_src_install() {
MYBIN=${PN}
fi
+ # move nls stuff
+ use nls && ( \
+ dodir /usr/share/commonbox/${MYBIN}
+ mv ${D}/usr/share/${MYBIN}/nls ${D}/usr/share/commonbox/${MYBIN}
+ )
+
+ rmdir ${D}/usr/share/${MYBIN}
+
dodir /etc/X11/Sessions
echo "/usr/bin/${MYBIN}" > ${D}/etc/X11/Sessions/${MYBIN}
- fperm +x /etc/X11/Sessions/${MYBIN}
+ fperms 755 /etc/X11/Sessions/${MYBIN}
}