Re: [arch-dev-public] [PATCH] Do not refer to $startdir/{src, pkg} in PKGBUILDs

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



On Tue, Jun 8, 2010 at 11:02 PM, Allan McRae <allan@xxxxxxxxxxxxx> wrote:
> On 09/06/10 10:38, Andres P wrote:
>>
>> If makepkg were as fluid as /usr/share/mk in *BSD, this wouldn't be
>> such an issue. ;)
>
> I have no idea what /usr/share/mk does in this regards so you will need to
> explain more.
>

In *bsd, make sources from /usr/share/mk for packages in core/base,
and in /usr/share/pkgsrc/mk (in netbsd; freebsd and obsd use
..ports/{Mk,infastructure}). This effectively couples make timestamp
based builds with a nice library to handle all types of states.

They have different identifiers and directories for distfiles,
patches, and src files that directly reside in the ports db. The
latter being the equivalent for source=() files in arch that get
copied from $startdir. Their Makefiles are fully reentrant if you
peruse these vars instead of using a giant source=() inclusion.

The sum check is specified in another file, like Crux's .md5sums.

Taking this in mind, I can declare config.h outside the distfiles
directory and still have it copied to ./src, have the other files
still be sum checked, and independantly build from extracted sources
or decide to untar from scratch...

Andres P


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux