Gentoo Development: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
* ANT_TASKS can be set (and should be set) manually on the ebuild, but only in src_compile() or src_test(). | * ANT_TASKS can be set (and should be set) manually on the ebuild, but only in src_compile() or src_test(). | ||
* The jar names should not contain version number, if you need to rename them, there is an eclass for that: java-pkg_newjar. |
Revision as of 15:54, 15 May 2007
- If you write a simple ebuild, you still have to place it in the main Portage tree or in an overlay.
- Apparently you don't get the auto-resume feature automatically. Nor do you get MD5 verification.
General Ebuild development guide
- A list of important variables available when writing ebuilds:
- {$S}: Path to the temporary build directory.
- {$P}: Package name and version.
Java Ebuild writing guide
- ANT_TASKS can be set (and should be set) manually on the ebuild, but only in src_compile() or src_test().
- The jar names should not contain version number, if you need to rename them, there is an eclass for that: java-pkg_newjar.