1 |
"Bruce A. Locke" wrote: |
2 |
|
3 |
> From: "Achim Gottinger" <320095285153-0001@××××××××.de> |
4 |
> > |
5 |
> > pkgmerge only handles tbz2 packages. |
6 |
> > |
7 |
> > If you want to compile and merge a package from sources you must use |
8 |
> > |
9 |
> > ebuild [package].ebuild merge |
10 |
> |
11 |
> So I guess this means ebuild doesn't support automatically handling |
12 |
> dependencies? As when I go to compile one port, all the ports it depends |
13 |
> upon are automatically compiled and installed first? |
14 |
> |
15 |
|
16 |
I'm not sure if daniel integrated the dependencies code in ebuild 1.5. For |
17 |
1.4 it is true. |
18 |
I use a the autocompile.sh script for a full build. It checks if the |
19 |
dependencies are satisfied and merges the package in this case. |
20 |
It accepts a list of packages, you can use current-packages.new as a basis |
21 |
and remove or comment out all packages you don't want. |
22 |
Then you must set the ROOT variable (use "/" if you want to merge to your |
23 |
running system). |
24 |
After that run autocompile.sh [your packagelist] until all packages are |
25 |
merged. |
26 |
|
27 |
autocompile.sh understands the following vars |
28 |
|
29 |
STEPS here you can define what actions ebuild should execute (default "check |
30 |
clean unpack compile install qmerge clean"). |
31 |
CHECK if CHECK is set to yes the script only uses packages that are not |
32 |
installed on the system. if it is set to "package" it only build if there is |
33 |
no package is /usr/portage/packages/All. If it is set to "no" no checks are |
34 |
done. |
35 |
The default is "yes". |
36 |
|
37 |
autocompile.sh logs all output of ebuild to |
38 |
/tmp/portage-log/[category]/[packagename]/[action]. |
39 |
If an action fails the packages gets added to /tmp/portage-log/[action]. If |
40 |
the action succeeds an entry gets removed if he exists. |
41 |
|
42 |
achim~ |
43 |
|
44 |
|
45 |
> |
46 |
> ----------------------------------------------------------------- |
47 |
> Bruce A. Locke |
48 |
> blocke@××××××.org |
49 |
> |
50 |
> _______________________________________________ |
51 |
> gentoo-dev mailing list |
52 |
> gentoo-dev@g.o |
53 |
> http://www.gentoo.org/mailman/listinfo/gentoo-dev |