-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 07 Apr 2005 13:46:39 +0200, Igor Jagec wrote:
> Where can I find more information about making Slack packages? I bought
> the Slackware Essentials book but there is no much information about that.
> I found some howto on the internet but it works for only some programs.
> Here's what it says:
>
> -------------start---------------------------
> ./configure --prefix=/usr
> make
> grep -r DESTDIR *
>
> Installing with DESTDIR-support
>
Ok. This shows that the Makefile likely supports DESTDIR.
> make DESTDIR=/tmp/slackpack/example-0.1-beta install
Here it may have worked differently if you had put the two commands
on separate lines. I assume DESTDIR= is being used by make but not
install.
Try it as make; DESTDIR=/tmp/slackpack/example-0.1-beta install
> Installing without DESTDIR-support
>
> No worries, just put the wanted DESTDIR in front of the prefix, and install like so:
>
> make prefix=/tmp/slackpack/example-0.1-beta/usr install
If my assumption were correct, which it may not be, then with that
command the program may be built with hardcoded paths to that
prefix= location. You want to run make with the prefix= of where you
want the final program to be installed to, and you want to run
install with DESTDIR= (or prefix=) with the temporary location you
want to build the package from.
>
> cd /tmp/slackpack/example-0.1-beta
> makepkg example-0.1beta-i386-1.tgz
> -----------------end----------------------------
>
> I'd like to know more about making Slack, especialy if there is some
> utility for making it (I don't mean about Checkinstall
). I'd like to
> make packages for Ralink drivers and kernel modules package.
>
The others pointed out some excellent resources. The Checkinstall
program in /extra is also very nice.
Brad
-----BEGIN PGP SIGNATURE-----
iD8DBQFCVkF0kDp4KjYna1ARAoJXAJ9YBk52b0wZwFSeFjZThj ADOmE9EACfcMma
e1EVOY86OhJyYc7/HCeY36Q=
=+eOR
-----END PGP SIGNATURE-----