[beports] Re: making binary zips

  • From: "scott mc" <scottmc2@xxxxxxxxx>
  • To: beports@xxxxxxxxxxxxx
  • Date: Sun, 15 Jun 2008 22:56:20 -0700

2008/6/15 Grzegorz Dąbrowski <grzegorz.dabrowski@xxxxxxxxx>:
> On Mon, Jun 16, 2008 at 7:39 AM, scott mc <scottmc2@xxxxxxxxx> wrote:
>> I'm trying something different to capture all of the installed files
>> for things built using the GNU system.  Here's what I did, first I got
>> it to the point where I knew everything that is required to build the
>> package, built it and tested it, then ran make clean.  For my porting
>> efforts I've been using the new Haiku /boot/common as my --prefix
>> target.  I make a new folder called say /boot/target, then use
>> ./configure --prefix=/boot/target, then make, make install.  Now I
>> rename target to common and zip up /boot/common into a file called
>> port-haiku-x.x.x.zip
>> Then I delete this new common folder and rename the common-1 back to common.
>> I'm guessing there's other ways to do this and only capture the files
>> that should be included in a binary zip file.  Anyone have other ideas
>> on this?
>
> This is very bad idea. Autotools supports DESTDIR variable. You should
> build package as usual and install files to different directory, e.g.:
> make install DESTDIR=~/mytmproot
> and then zip all from $DESTDIR
>
> --
> Grzegorz Dąbrowski
>

Cool, thanks Grzegorz, this was the kind of tip I was looking for.
-scottmc

Other related posts: