Version 1/3
-
Next » -
Current version
Pierre-Olivier Vallès, 09/17/2014 09:49 pm
Building AMC from sources on Gentoo¶
As of September 16th of 2014, there are no AMC ebuild
available through any overlay, unfortunately.
Using this guide, you find all the information and resources to compile / install AMC 1.2.1. You will need to set up a local overlay (i.e. on your computer) to use the ebuild
provided in this page.
Compile / Install using a local overlay¶
- Create a local overlay
For reference, here the same procdure, with more details : http://wiki.gentoo.org/wiki/Overlay/Local_overlay
Run the following commands asroot
(don't forget to give your overlay a nice name ) :# mkdir -p /usr/local/portage/{metadata,profiles} # echo 'NameOfTheOverlay' > /usr/local/portage/profiles/repo_name # echo 'masters = gentoo' > /usr/local/portage/metadata/layout.conf # chown -R portage:portage /usr/local/portage
Getportage
ready to make use of this new overlay :# echo 'PORTDIR_OVERLAY="/usr/local/portage ${PORTDIR_OVERLAY}"' >> /etc/portage/make.conf
- Install the provided files (ebuild and patch)
Create directories as necessary :# mkdir -p /usr/local/portage/app-office/auto-multiple-choice/files/
Download the files on this page, and store them in the following directories :/usr/local/portage/app-office/auto-multiple-choice/auto-multiple-choice-1.2.1.ebuild /usr/local/portage/app-office/auto-multiple-choice/files/auto-multiple-choice-1.2-makefiles.patch
By default (and I apologize for this bad practice), thisebuild
is marked as stable on arch "amd64
" (64 bits linux). Add your arch is needed in theKEYWORDS
variable in theebuild
file (e.g. "x86
", or better "~x86
".)
- Generate the
Manifest
Still asroot
user :cd /usr/local/portage/app-office/auto-multiple-choice/ ebuild auto-multiple-choice-1.2.1.ebuild manifest clean
Now AMC should be ready for installation. Each and every time you change theebuild
, you need to generate again theManifest
.
- Install AMC
All that is left to do, is to run your favorite "emerge
" line :emerge -qav auto-multiple-choice
Installation using an overlay
No existing overlay
yet. :-(
Updates to the documentation¶
The provided ebuild
and this documentation are relatively new and untested. Feel free to adapt and to give some feedback (forums or wiki).