/[gentoo-x86]/eclass/scsh.eclass
Gentoo

Diff of /eclass/scsh.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/scsh.eclass,v 1.1 2005/08/09 17:59:50 mkennedy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/scsh.eclass,v 1.2 2005/08/09 18:07:53 mkennedy Exp $
4# 4#
5 5
6inherit eutils 6inherit eutils
7 7
8ECLASS=scsh 8ECLASS=scsh
10 10
11LICENSE="as-is | BSD" 11LICENSE="as-is | BSD"
12SLOT="0" 12SLOT="0"
13KEYWORDS="~x86" 13KEYWORDS="~x86"
14 14
15IUSE="fhs scsh" 15IUSE="scsh"
16 16
17SCSH_SCSH_PATH=/usr/$(get_libdir)/scsh 17SCSH_SCSH_PATH=/usr/$(get_libdir)/scsh
18 18
19set_layout() { 19set_layout() {
20 if use fhs; then
21 SCSH_LAYOUT=fhs
22 elif use scsh; then 20 if use scsh; then
23 SCSH_LAYOUT=scsh 21 SCSH_LAYOUT=scsh
24 else 22 else
25 ewarn "No layout was specified via USE, defaulting to fhs." 23 ewarn "No layout was specified via USE, defaulting to FHS."
26 SCSH_LAYOUT=fhs 24 SCSH_LAYOUT=fhs
27 fi 25 fi
28 export SCSH_LAYOUT 26 export SCSH_LAYOUT
29} 27}
30 28

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20