On Thu, May 04, 2006 at 04:38:31PM +0200, Marcus Rueckert wrote:
> On 2006-05-04 16:24:51 +0200, Johannes Nohl wrote:
> > is it possible to turn a "make install" from filesystem to rpm? I want
> > to have a individual rpm for my system so after "./configure & make &
> > make installrpm" I just have to install the rpm. It would be easier to
> > test something.
>
> checkinstall
I have a script called ins that has the following:
##ins
./configure #obvious
wait
make $obvious
wait
sux -c 'checkinstall --rpmu --install=yes'
# Make the RPM and install it
wait
createrepo /usr/src/packages/RPMS
# Make it available for YaST in the future. Add that dir
# as an installation source
> but writing spec files is not rocket sience.
> see http://en.opensuse.org/SUSE_Build_Tutorial
It might be overkill if you just want to check out a program. I only use
it for programs that I want to distribute to others.
houghi
--
Nutze die Zeit. Sie ist das Kostbarste, was wir haben, denn es
ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Werk
und Arbeit, und das Sein wichtiger als das Tun
- Johannes Müller-Elmau
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]