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

Diff of /eclass/eutils.eclass

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

Revision 1.158 Revision 1.159
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/eutils.eclass,v 1.158 2005/03/17 02:45:10 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.159 2005/03/18 22:50:26 vapier Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
942 *) type=;; 942 *) type=;;
943 esac 943 esac
944 ;; 944 ;;
945 945
946 dev) 946 dev)
947 type=Development 947 type="Development"
948 ;; 948 ;;
949 949
950 games) 950 games)
951 [[ -z ${path} ]] && path=${GAMES_BINDIR} 951 [[ -z ${path} ]] && path=${GAMES_BINDIR}
952 952
962 simulation) type=Simulation;; 962 simulation) type=Simulation;;
963 sports) type=SportsGame;; 963 sports) type=SportsGame;;
964 strategy) type=StrategyGame;; 964 strategy) type=StrategyGame;;
965 *) type=;; 965 *) type=;;
966 esac 966 esac
967 type=Game;${type} 967 type="Game;${type}"
968 ;; 968 ;;
969 969
970 mail) 970 mail)
971 type=Network;Email 971 type="Network;Email"
972 ;; 972 ;;
973 973
974 media) 974 media)
975 case ${catmin} in 975 case ${catmin} in
976 gfx) type=Graphics;; 976 gfx) type=Graphics;;
978 sound) type=Audio;; 978 sound) type=Audio;;
979 tv) type=TV;; 979 tv) type=TV;;
980 video) type=Video;; 980 video) type=Video;;
981 *) type=;; 981 *) type=;;
982 esac 982 esac
983 type=AudioVideo;${type} 983 type="AudioVideo;${type}"
984 ;; 984 ;;
985 985
986 net) 986 net)
987 case ${catmin} in 987 case ${catmin} in
988 dialup) type=Dialup;; 988 dialup) type=Dialup;;
993 news) type=News;; 993 news) type=News;;
994 nntp) type=News;; 994 nntp) type=News;;
995 p2p) type=FileTransfer;; 995 p2p) type=FileTransfer;;
996 *) type=;; 996 *) type=;;
997 esac 997 esac
998 type=Network;${type} 998 type="Network;${type}"
999 ;; 999 ;;
1000 1000
1001 sci) 1001 sci)
1002 case ${catmin} in 1002 case ${catmin} in
1003 astro*) type=Astronomoy;; 1003 astro*) type=Astronomoy;;
1005 calc*) type=Calculator;; 1005 calc*) type=Calculator;;
1006 chem*) type=Chemistry;; 1006 chem*) type=Chemistry;;
1007 geo*) type=Geology;; 1007 geo*) type=Geology;;
1008 math*) type=Math;; 1008 math*) type=Math;;
1009 *) type=;; 1009 *) type=;;
1010 esac 1010 esac
1011 type=Science;${type} 1011 type="Science;${type}"
1012 ;; 1012 ;;
1013 1013
1014 www) 1014 www)
1015 case ${catmin} in 1015 case ${catmin} in
1016 client) type=WebBrowser;; 1016 client) type=WebBrowser;;
1017 *) type=;; 1017 *) type=;;
1018 esac 1018 esac
1019 type=Network 1019 type="Network"
1020 ;; 1020 ;;
1021 1021
1022 *) 1022 *)
1023 type= 1023 type=
1024 ;; 1024 ;;

Legend:
Removed from v.1.158  
changed lines
  Added in v.1.159

  ViewVC Help
Powered by ViewVC 1.1.20