Date: Mon, 21 Jan 2013 19:13:34 +0400 From: Alex Keda <admin@lissyara.su> To: freebsd-ports@freebsd.org Subject: Re: [PKGNG] where I can find $ABI? Message-ID: <50FD5B1E.3030001@lissyara.su> In-Reply-To: <20130121132859.GB7122@ithaqua.etoilebsd.net> References: <50FD3DB9.7070103@lissyara.su> <20130121132859.GB7122@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
21.01.2013 17:29, Baptiste Daroussin пишет: > On Mon, Jan 21, 2013 at 05:08:09PM +0400, Alex Keda wrote: >> I create my own repository. >> but, $ABI I create as: >> v1=`uname -s | tr "[:upper:]" "[:lower:]"` >> v2=`uname -r | awk -F '.' '{print $1}'` >> v3=x86 >> v4=`sysctl -n hw.machine_arch | tr -d "[:alpha:]"` >> ABI="$v1:$v2:$v3:$v4" >> (for example) >> >> may be add some key to pkg command, for output pkg_get_myabi() result? > > okg -vv should output you ABI > > If you want to get the information out of a package pkg info -fF mypkg.txz | > grep "^arch:" Should output the ABI for you > > regards, > Bapt > OK, thanks pkg -vv | grep abi | awk '{print $2}' help me
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50FD5B1E.3030001>