Mhac Janapin wrote:

> I was thinking more of 'packaging.' Well of course
> Slackware would allow you to tweak around with the
> sources, too. But that would defeat the purpose of
> installpkg! You might as well go LFS.

Not necessarily.  Like I mentioned before, I find it
very easy to download source .tar.gz's and turn them
into .tgz packages.

When tweaking sources, this is probably what I would do:

a) get the .tar.gz source
b) unpack into package-x.y.z/ and do
   make install PREFIX=/pkgcreate/usr/local
c) create a .tgz package out of the files found in
   /pkgcreate
d) installpkg the new .tgz
e) make my changes to the any source code in the make
   directory found in step b)
f) remake but not necessarily reinstall
g) just cp over to whatever directory the changed
   binar(ies) belong to.


The point of steps a)-c) is to let Slackware know
which files are associated with this package so
you can cleanly uninstall it any time, *even if you
have tweaked it*.

Regarding step f):

There *might* be packages for which the make install
routine does something funky, so in those cases you
might find yourself needing to do a make install and
the corresponding makepkg-removepkg-installpkg cycle
with each new compile cycle, but I doubt you will
encounter this often if at all.


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to