Slack packages
Collins Richey
erichey2
Mon May 17 11:46:07 PDT 2004
I have a group of libraries (all go in /usr/lib) that are older
libc/libg++/etc to support things like phoenix nightly binaries. I
could simply copy the to /usr/lib, but I would prefer to do this as a
standard Slack package.
I've tried 'makepkg', but that expects to find a makefile. Anyone care
to help me out with that?
The final structure of the executables is:
libc.so.5
libg++.so.2.7.2> libg++.so.2.7.2.8
libg++.so.2.7.2.8
libstdc++-libc6.1-1.so.2
libstdc++-libc6.2-2.so.3
libstdc++.so.2.7.2 -> libstdc++.so.2.7.2.8
libstdc++.so.2.7.2.8
libstdc++.so.2.8 -> libstdc++.so.2.8.0
libstdc++.so.2.8.0
If I do a cp -a thisdir/* /usr/lib followed by ldconfig, it works a-ok.
The phoenix nightly binaries run without a hitch.
As you can see from the above, there are 6 binary libraries (in the
distribution tarball) and 3 symlinks.
I've done some searches on google and found some sample makefiles, but
they are all way too complex for me. What I need is a simple makefile
that takes the 6 libraries above, copies them to /usr/lib and
establishes the symlinks, all in response to a 'make install', I
presume.
The net effect would be a Slack package that I could add the appropriate
verbage and offer up to others who are looking to do the same thing.
The actual distribution of these libraries is available at a gentoo
site.
--
Collins
More information about the Linux-users
mailing list