On 64bit solaris two binaries are built.

This commit is contained in:
Tom G. Christensen 2008-10-15 12:45:52 +00:00 committed by Tom G. Christensen
parent 8deceed73e
commit ad3b12e4d1
3 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,9 @@ source[0]=$topdir-$version.tar.bz2
# Source function library # Source function library
. ${BUILDPKG_BASE}/scripts/buildpkg.functions . ${BUILDPKG_BASE}/scripts/buildpkg.functions
# Global settings
[ -n "$(isainfo | grep sparcv9)" ] && v9bin=1
reg prep reg prep
prep() prep()
{ {

View File

@ -7,6 +7,8 @@ pkgdesc="Utility that provides a rolling display of top cpu using processes"
pkgver="$pkgver" pkgver="$pkgver"
files(-,root,bin) files(-,root,bin)
default_docs default_docs
if(v9bin)$_bindir/sparcv7/top
if(v9bin)$_bindir/sparcv9/top
$_bindir/top $_bindir/top
$_mandir/man1/top.1 $_mandir/man1/top.1

View File

@ -25,3 +25,6 @@ KNOWN DEPENDENCIES
ERRORS/MISCELLANEOUS ERRORS/MISCELLANEOUS
-------------------- --------------------
For Solaris versions with 64bit kernels available this package contains
binaries for both 32 and 64 bit kernels.
top will automatically select the appropriate binary at runtime.