LinHES Forums
http://forums.linhes.org/

How to build a LinHES package on an R6 install
http://forums.linhes.org/viewtopic.php?f=11&t=19849
Page 1 of 1

Author:  Greg Frost [ Fri May 08, 2009 11:53 pm ]
Post subject:  How to build a LinHES package on an R6 install

To get the required development tools (gcc, make, fakeroot etc.):
Code:
pacman -Sy base-devel

You can the obtain the source packages using one of the following tequniques (thanks to jams for the info)
jams wrote:
several ways. 1) use your development enviroment and follow the readme. 2) don't use your devleopment enviroment and only use git to pull LinHES-PKGBUILD 3) visit http://linhes.org/repo/src_packages/ 4) visit http://linhes.org/cgit/cgit.cgi/LinHES- ... D/tree/abs
we do not have abs setup for linhes at this point
don't know if we every will

Using for example, option 3, you can browse to find the package that you want and download and extract it and build it using (for example for lirc):
Code:
wget http://linhes.org/repo/src_packages/core-testing/lirc-0.8.3-3.src.tar.gz
tar xvfz lirc-0.8.3-3.src.tar.gz
cd lirc
makepkg

This will build a binary package that you can then install using:
Code:
pacman -U lirc-0.8.3-3.pkg.tar.gz

You can make changes to the package and then build it and install it. once you are satisfied with your new package, you can submit the changes via flyspray.
If you want to find out what package a given file belongs to, you can use the command:
Code:
pacman -Qo /path/to/the/file

Author:  Big boy stan [ Thu Oct 28, 2010 2:30 pm ]
Post subject: 

If you need to make modifications before compiling do the following.

Follow the above steps except instead of makepkg use the command
Code:
makepkg -o

This will do the downloading of the source but not compile and install. Now make your modifications. When you are done, use the command

Code:
makepkg -e


and follow with the pacman -U command.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/