IPS Fans,

I tried Indiana back when the first developer preview was released and 
just recently came back for another look.  I asked the following pkg 
related questions, and a few non-package related questions, in the 
IndianaDiscuss list and it was suggested that I also ask the package 
related questions here.

pkg info displays a short package description.  Do, or will, packages have 
a long description?

I'm at best a novice developer but while trying out various Linux 
distributions I've managed to create a few simple packages for personal 
use.  I've created packages on SourceMage, Arch, CRUX, Wolvix and perhaps 
one or two others I'm forgetting at the moment.  I haven't attempted 
creating a Debian package from scratch but have gotten decently proficient 
at rebuilding Debian packages to adjust them for my needs.

So, if I switch to Indiana I'd like to take a stab at learning how to 
create packages, or at least learn how to modify existing packages.  I've 
come across the IPS intro on OpenSolaris.org, but most packages involve 
actually building software.  Creating one text file and packaging it up 
isn't really all that useful.  Is there a tutorial that covers creating an 
IPS package from a typical configure -> make -> make install type project?

And, is there a way to rebuild an IPS package if needed?  On Debian, for 
example, I rebuild the available ffmpeg package to remove the 
--disable-mmx configure flag in order to triple ffmpeg's performance. 
The process amounts to:

$ apt-get source ffmpeg

change to the source directory

edit debian/rules and remove the --disable-mmx configure flag and the 
CFLAGS that keep ffmpeg from building with mmx enabled.

$ dch -l "-mmx"

the above command invokes my preferred editor, vim, to edit the package's 
changelog and automatically adds an entry to the top with -mmx tacked on 
to the end of the current version.  I add a comment, save my changes, 
then:

$ dpkg-buildpackage -us -uc -b -rfakeroot

which builds the package.I then copy the resulting *.deb files to my local 
repository, update my local repository, then:

# aptitude update

# aptitude safe-upgrade

to "upgrade" ffmpeg to my modified version.



Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to