1 |
vapier 08/06/01 01:38:09 |
2 |
|
3 |
Modified: multilib.eclass |
4 |
Log: |
5 |
remove old docs as well |
6 |
|
7 |
Revision Changes Path |
8 |
1.66 eclass/multilib.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/multilib.eclass?rev=1.66&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/multilib.eclass?rev=1.66&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/multilib.eclass?r1=1.65&r2=1.66 |
13 |
|
14 |
Index: multilib.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v |
17 |
retrieving revision 1.65 |
18 |
retrieving revision 1.66 |
19 |
diff -u -r1.65 -r1.66 |
20 |
--- multilib.eclass 1 Jun 2008 01:37:29 -0000 1.65 |
21 |
+++ multilib.eclass 1 Jun 2008 01:38:09 -0000 1.66 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2008 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.65 2008/06/01 01:37:29 vapier Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.66 2008/06/01 01:38:09 vapier Exp $ |
27 |
|
28 |
# @ECLASS: multilib.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -13,84 +13,6 @@ |
31 |
___ECLASS_RECUR_MULTILIB="yes" |
32 |
[[ -z ${___ECLASS_RECUR_TOOLCHAIN_FUNCS} ]] && inherit toolchain-funcs |
33 |
|
34 |
-# is_final_abi: |
35 |
-# Return true if ${ABI} is the final abi to be installed (and thus we are |
36 |
-# on our last run through a src_* function. |
37 |
- |
38 |
-# number_abis: |
39 |
-# echo the number of ABIs we will be installing for |
40 |
- |
41 |
-# get_install_abis: |
42 |
-# Return a list of the ABIs we want to install for with |
43 |
-# the last one in the list being the default. |
44 |
- |
45 |
-# get_all_abis: |
46 |
-# Return a list of the ABIs supported by this profile. |
47 |
-# the last one in the list being the default. |
48 |
- |
49 |
-# get_all_libdirs: |
50 |
-# Returns a list of all the libdirs used by this profile. This includes |
51 |
-# those that might not be touched by the current ebuild and always includes |
52 |
-# "lib". |
53 |
- |
54 |
-# get_libdir: |
55 |
-# Returns the libdir for the selected ABI. This is backwards compatible |
56 |
-# and simply calls get_abi_LIBDIR() on newer profiles. You should use this |
57 |
-# to determine where to install shared objects (ex: /usr/$(get_libdir)) |
58 |
- |
59 |
-# get_abi_var <VAR> [<ABI>]: |
60 |
-# returns the value of ${<VAR>_<ABI>} which should be set in make.defaults |
61 |
-# |
62 |
-# get_abi_CFLAGS: |
63 |
-# get_abi_CDEFINE: |
64 |
-# get_abi_LIBDIR: |
65 |
-# Aliases for 'get_abi_var CFLAGS', etc. |
66 |
- |
67 |
-# get_ml_incdir [<include dir> [<ABI>]] |
68 |
-# include dir defaults to /usr/include |
69 |
-# ABI defaults to ${ABI} or ${DEFAULT_ABI} |
70 |
-# |
71 |
-# If a multilib include dir is associated with the passed include dir, then |
72 |
-# we return it, otherwise, we just echo back the include dir. This is |
73 |
-# neccessary when a built script greps header files rather than testing them |
74 |
-# via #include (like perl) to figure out features. |
75 |
- |
76 |
-# prep_ml_includes: |
77 |
-# Some includes (include/asm, glibc, etc) are ABI dependent. In this case, |
78 |
-# We can install them in different locations for each ABI and create a common |
79 |
-# header which includes the right one based on CDEFINE_${ABI}. If your |
80 |
-# package installs ABI-specific headers, just add 'prep_ml_includes' to the |
81 |
-# end of your src_install(). It takes a list of directories that include |
82 |
-# files are installed in (default is /usr/include if none are passed). |
83 |
-# |
84 |
-# Example: |
85 |
-# src_install() { |
86 |
-# ... |
87 |
-# prep_ml_includes /usr/qt/3/include |
88 |
-# } |
89 |
- |
90 |
-# create_ml_includes <include dir> <symbol 1>:<dir 1> [<symbol 2>:<dir 2> ...] |
91 |
-# If you need more control than prep_ml_includes can offer (like linux-headers |
92 |
-# for the asm-* dirs, then use create_ml_includes. The firs argument is the |
93 |
-# common dir. The remaining args are of the form <symbol>:<dir> where |
94 |
-# <symbol> is what is put in the #ifdef for choosing that dir. |
95 |
-# |
96 |
-# Ideas for this code came from debian's sparc-linux headers package. |
97 |
-# |
98 |
-# Example: |
99 |
-# create_ml_includes /usr/include/asm __sparc__:/usr/include/asm-sparc __sparc64__:/usr/include/asm-sparc64 |
100 |
-# create_ml_includes /usr/include/asm __i386__:/usr/include/asm-i386 __x86_64__:/usr/include/asm-x86_64 |
101 |
- |
102 |
-# get_libname [version] |
103 |
-# returns libname with proper suffix {.so,.dylib} and optionally supplied version |
104 |
-# for ELF/MACH-O shared objects |
105 |
-# |
106 |
-# Example: |
107 |
-# get_libname libfoo ${PV} |
108 |
-# Returns: libfoo.so.${PV} (ELF) || libfoo.${PV}.dylib (MACH) |
109 |
- |
110 |
-### END DOCUMENTATION ### |
111 |
- |
112 |
# Defaults: |
113 |
export MULTILIB_ABIS=${MULTILIB_ABIS:-"default"} |
114 |
export DEFAULT_ABI=${DEFAULT_ABI:-"default"} |
115 |
|
116 |
|
117 |
|
118 |
-- |
119 |
gentoo-commits@l.g.o mailing list |