You are not logged in.

#1 2012-09-04 21:32:17

yannsen
Member
From: Germany
Registered: 2010-05-03
Posts: 18

Dependency Question: jnc from AUR

Hi,

I do "maintain" one package in AUR (jnc) and have a dependency question about this package:
I built an extra package for x86_64 because of some dependency issues on my machine, but after uploading I recognised, that the issues comes with the juniper binary and not with my package.

What is the right way? It is just a perl script, so the dependcies are just perl and the other system commands used in the perl script, or it is ok to say, to use the perl script you need these juniper binaries, and if you have a x86_64 machine you need these dependencies to run the juniper binary?

The missing dependencies are 'lib32-glibc' 'lib32-zlib' ...

Cheers yannsen

Offline

#2 2012-09-05 09:53:22

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,217

Re: Dependency Question: jnc from AUR

you can combine both architectures in 1 package, use something like this :

  depends=('libglade')
if [[ ${CARCH} == "i686" ]]; then
  depends+=('glibc')
else
  depends+=('lib32-glibc')
fi

Edit :

Chances are the i686 package also needs glibc and zlib as dependencies , namcap can help with determining that.

Last edited by Lone_Wolf (2012-09-05 09:56:36)


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB