pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Automatic package file generation



On 2013-12-20, at 13:33, D'Arcy J.M. Cain <darcy%NetBSD.org@localhost> wrote:

> On Fri, 20 Dec 2013 12:04:47 -0700
> Sverre Froyen <sverre%viewmark.com@localhost> wrote:
>> How can I make the “make install” step also put a copy of the package
>> file in packages/All. ISTR that this used to be possible by adding a
>> “AUTO_TARGET=package” line to mk.conf, but that no longer does the
>> trick.
> 
> I just do "make package install" but if you want the packages to be
> available to other systems there is another step.  Here's a shell
> script that I use when I build packages.
> 
> #! /bin/sh
> 
> SUMM=/usr/pkgsrc/packages/All/pkg_summary
> make package install && pkg_info -X -a > $SUMM && gzip -f $SUMM

Good information. Thank you all!

Sverre



Home | Main Index | Thread Index | Old Index