-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Thursday 2006-05-04 at 17:07 +0200, houghi wrote:
> 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
Very similar to what I do ;-)
I have a script in ~/bin/checkinstall:
#!/bin/sh
case "$1" in
geda) sudo /usr/sbin/checkinstall --arch=i686 --pkgname=geda
--pkggroup=Compilaciones/Engineering/gEDA --pkgaltsource=www.geda.seul.org
'CFLAGS="-O2 -march=pentium4" make install' ;;
*) echo "Wrapper para checkinstall. Dime cual proyecto"
;;
esac
So that next time I recompile that project I can use the same options I
did last time.
But 'createrepo' is new for me, didn't know it. Interesting ;-)
> > 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.
I never wrote a spec file, don't know how. Maybe I will one day if I
intent to provide rpms for other people, but for my own use checkinstall
is just perfect.
- --
Cheers,
Carlos Robinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFEWoottTMYHG2NR9URAnA0AJ0Z/IQksVOm7SsDdZicEwLsgqgxzgCaA8Cz
tJtNC61/Fl7BoRcnXQaQQbY=
=pEGP
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]