I am new in Funtoo/Gentoo. Where do I start learning how to create my own "packages"?
For example, I have done the following to get the source code of Bespin, a Style for Qt4, derived from the Style for the Oxygen project and compile it:
svn checkout svn://svn.code.sf.net/p/cloudcity/code/ cloudcity-code
cd cloudcity-code/
andless INSTALL
,q
when done with readingmkdir build
&&cd build
Configure Bespin using ccmake:
ccmake ../
Press
c
for a general configuration -- assuming all requirements are satisfiedOptionally, adjust some paths to your wishes
Press
c
for the final config runPress
g
to generate makefilesRun the compiler:
make
At this point, I am hesitant to execute (as root) sudo make install
. In other distributions I'd use checkinstall to create a .deb package, for example, which I could easily remove anytime.
What is the right way to do this in Gentoo? ebuilds?