| 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.398 2012/06/14 23:07:31 hasufell Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.399 2012/06/14 23:40:29 ssuominen 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 |
| … | |
… | |
| 1034 | # |
1034 | # |
| 1035 | # example 1: doicon foobar.png fuqbar.svg suckbar.png |
1035 | # example 1: doicon foobar.png fuqbar.svg suckbar.png |
| 1036 | # results in: insinto /usr/share/pixmaps |
1036 | # results in: insinto /usr/share/pixmaps |
| 1037 | # doins foobar.png fuqbar.svg suckbar.png |
1037 | # doins foobar.png fuqbar.svg suckbar.png |
| 1038 | # |
1038 | # |
| 1039 | # example 2: doicon -s 48 foobar.png fuqbar.png gaybar.png |
1039 | # example 2: doicon -s 48 foobar.png fuqbar.png blobbar.png |
| 1040 | # results in: insinto /usr/share/icons/hicolor/48x48/apps |
1040 | # results in: insinto /usr/share/icons/hicolor/48x48/apps |
| 1041 | # doins foobar.png fuqbar.png gaybar.png |
1041 | # doins foobar.png fuqbar.png blobbar.png |
| 1042 | # @CODE |
1042 | # @CODE |
| 1043 | doicon() { |
1043 | doicon() { |
| 1044 | _iconins ${FUNCNAME} "$@" |
1044 | _iconins ${FUNCNAME} "$@" |
| 1045 | } |
1045 | } |
| 1046 | |
1046 | |