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

Diff of /eclass/eutils.eclass

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

Revision 1.383 Revision 1.384
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/eutils.eclass,v 1.383 2012/02/16 00:27:17 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.384 2012/02/26 13:20:59 pacho Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
651 local catmaj=${CATEGORY%%-*} 651 local catmaj=${CATEGORY%%-*}
652 local catmin=${CATEGORY##*-} 652 local catmin=${CATEGORY##*-}
653 case ${catmaj} in 653 case ${catmaj} in
654 app) 654 app)
655 case ${catmin} in 655 case ${catmin} in
656 accessibility) type=Accessibility;; 656 accessibility) type="Utility;Accessibility";;
657 admin) type=System;; 657 admin) type=System;;
658 antivirus) type=System;; 658 antivirus) type=System;;
659 arch) type=Archiving;; 659 arch) type="Utility;Archiving";;
660 backup) type=Archiving;; 660 backup) type="Utility;Archiving";;
661 cdr) type=DiscBurning;; 661 cdr) type="AudioVideo;DiscBurning";;
662 dicts) type=Dictionary;; 662 dicts) type="Office;Dictionary";;
663 doc) type=Documentation;; 663 doc) type=Documentation;;
664 editors) type=TextEditor;; 664 editors) type="Utility;TextEditor";;
665 emacs) type=TextEditor;; 665 emacs) type="Development;TextEditor";;
666 emulation) type=Emulator;; 666 emulation) type="System;Emulator";;
667 laptop) type=HardwareSettings;; 667 laptop) type="Settings;HardwareSettings";;
668 office) type=Office;; 668 office) type=Office;;
669 pda) type=PDA;; 669 pda) type="Office;PDA";;
670 vim) type=TextEditor;; 670 vim) type="Development;TextEditor";;
671 xemacs) type=TextEditor;; 671 xemacs) type="Development;TextEditor";;
672 esac 672 esac
673 ;; 673 ;;
674 674
675 dev) 675 dev)
676 type="Development" 676 type="Development"

Legend:
Removed from v.1.383  
changed lines
  Added in v.1.384

  ViewVC Help
Powered by ViewVC 1.1.20