Re: Question about split packages

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



On Fri, 2009-08-07 at 18:03 +0100, Magnus Therning wrote:
> I've been playing around with split packages and it's a nice feature, it'll
> make some packaging tasks a lot easier.  Anyway, there's one thing I can't
> find out, is it possible to have one package depend on another one that's
> built from the same sources?
> 
> Basically something like this:
> 
> pkgname=('foo' 'bar')
> ...
> 
> build () {
> ...
> }
> 
> package_foo () {
> ...
> }
> 
> package_bar () {
> depends=('foo')
> ...
> }
> 
> /M

That works yes, see libgsf and svn trunk for poppler for examples. Note
that you will need pkgbase=foobar also. You will also have to replace
any $pkgname with $pkgbase in the build function and the source urls
when you start splitting packages.



[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