Bash is an essential component of the Gentoo Linux ebuild system.
Bash是GentooLinuxebuild系统的基本组件。
We need to make some more changes to the ebuild system to accommodate these programs.
需要再对ebuild系统做一些改动,以适应这些程序。
Normally, this option would be used to allow the user to tell ebuild to do a parallel make.
通常,将使用该选项来允许用户告诉ebuild执行并行make。
Before we look at the ebuild system, let's review what's involved in getting a package compiled and installed.
在讨论ebuild系统之前,让我们回顾一下编译和安装包都牵涉些什么。
I'd like the ebuild script to accept a second command-line argument, which will be "compile", "unpack", or "all".
我希望ebuild脚本再接受一个命令行自变量:“compile ”、“unpack ”或“all ”。
To enhance your bash knowledge, I'll show you how I implemented the unpack and compile portions of the ebuild system, step by step.
为了增加您的bash知识,我将循序渐进地为您演示如何实现该ebuild系统的解包和编译部分。
That way, I can tell ebuild to unpack the archive, but not compile it (just in case I need to inspect the source archive before compilation begins).
通过这种方式,可以告诉ebuild解包档案,但不进行编译(以便在开始编译之前查看源代码档案)。
This way, we can upgrade or enhance the ebuild system simply by editing the "ebuild" script, keeping the implementation details outside of the ebuild files. Here's a sample ebuild file for gzip
通过这种方式,只需编辑 "ebuild"脚本就可以升级或增强 ebuild系统,同时将实现细节保留在 ebuild文件之外。
But, we must also have the ebuild system accommodate sources that do not use autoconf or normal Makefiles. To solve this problem, I propose that our ebuild script should, by default, do the following.
但是,还必须使ebuild系统适应那些不使用autoconf或正常make文件的源代码。
But, we must also have the ebuild system accommodate sources that do not use autoconf or normal Makefiles. To solve this problem, I propose that our ebuild script should, by default, do the following.
但是,还必须使ebuild系统适应那些不使用autoconf或正常make文件的源代码。
应用推荐