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

Diff of /eclass/eutils.eclass

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

Revision 1.98 Revision 1.99
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.98 2004/09/05 22:38:41 ciaranm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.99 2004/09/07 11:41:29 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.
876Type=Application 876Type=Application
877Comment=${DESCRIPTION} 877Comment=${DESCRIPTION}
878Exec=${exec} 878Exec=${exec}
879Path=${path} 879Path=${path}
880Icon=${icon} 880Icon=${icon}
881Categories=Application;${type};" > ${desktop} 881Categories=Application;${type};" > "${desktop}"
882 882
883 if [ -d "/usr/share/applications" ] 883 if [ -d "/usr/share/applications" ]
884 then 884 then
885 insinto /usr/share/applications 885 insinto /usr/share/applications
886 doins ${desktop} 886 doins "${desktop}"
887 fi 887 fi
888 888
889 #if [ -d "/usr/share/gnome/apps" ] 889 #if [ -d "/usr/share/gnome/apps" ]
890 #then 890 #then
891 # insinto /usr/share/gnome/apps/Games 891 # insinto /usr/share/gnome/apps/Games
902 #fi 902 #fi
903 903
904 if [ -d "/usr/share/applnk" ] 904 if [ -d "/usr/share/applnk" ]
905 then 905 then
906 insinto /usr/share/applnk/${subdir} 906 insinto /usr/share/applnk/${subdir}
907 doins ${desktop} 907 doins "${desktop}"
908 fi 908 fi
909 909
910 return 0 910 return 0
911} 911}
912 912

Legend:
Removed from v.1.98  
changed lines
  Added in v.1.99

  ViewVC Help
Powered by ViewVC 1.1.20