Re: pkgbuild depends() can you have both >= <=?

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



On Mon, Jul 30, 2012 at 08:16:28PM -0500, David C. Rankin wrote:
> Guys,
> 
>   Is it possible to have both a 'greater than' and 'less than' dependency on any
> single package listed as a depends in a PKGBUILD?  I want to specify gegl
> >=0.1.8 and <=0.2 for gimp26. Possible?
> 
>   Man page says:
> 
> <quote>
> Entries can also include a version requirement of the form name<>version, where
> <> is one of five comparisons: >= (greater than or equal to), <= (less than or
> equal to), = (equal to), > (greater than), or < (less than).
> </quote>
> 
>   Where the operative phrase is: 'is one of five...'
>                                      ^^^
> 
>   Can you list a depends twice? (i.e.: gegl>=0.1.8 gegl<=0.2)
> 
> -- 
> David C. Rankin, J.D.,P.E.

see the pkgbuild for nvidia
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/nvidia




[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