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
commit55635c10080ff844d265e8854f5fbb93ec0d3c63 (patch)
tree881e834e84fa6a819e7558e8359c41e96e4ec86c /eclass
parentNew gentoolkit revision fixes fairly critical bug in etc-update (diff)
downloadhistorical-55635c10080ff844d265e8854f5fbb93ec0d3c63.tar.gz
historical-55635c10080ff844d265e8854f5fbb93ec0d3c63.tar.bz2
historical-55635c10080ff844d265e8854f5fbb93ec0d3c63.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}
}