UnixTop for 2.6/sparc

This commit is contained in:
Tom G. Christensen 2008-06-07 20:39:20 +00:00 committed by Tom G. Christensen
parent a1031b8ca0
commit 85cb0f4c1f
3 changed files with 100 additions and 0 deletions

61
top/build.sh Executable file
View File

@ -0,0 +1,61 @@
#!/bin/bash
#
# This is a generic build.sh script
# It can be used nearly unmodified with many packages
#
# build.sh helper functions
. ${BUILDPKG_BASE}/scripts/build.sh.functions
#
###########################################################
# Check the following 4 variables before running the script
topdir=top
version=3.7
pkgver=1
source[0]=$topdir-$version.tar.bz2
# If there are no patches, simply comment this
#patch[0]=
# Source function library
. ${BUILDPKG_BASE}/scripts/buildpkg.functions
reg prep
prep()
{
generic_prep
}
reg build
build()
{
generic_build
}
reg check
check()
{
generic_check
}
reg install
install()
{
generic_install DESTDIR
doc Changes LICENSE FAQ README
}
reg pack
pack()
{
generic_pack
}
reg distclean
distclean()
{
clean distclean
}
###################################################
# No need to look below here
###################################################
build_sh $*

12
top/meta/pkgdef Normal file
View File

@ -0,0 +1,12 @@
[top]
pkgname="${pkgprefix}${topdir}"
name="$topdir - Unix Top"
pkgcat="application"
pkgvendor="http://unixtop.org"
pkgdesc="Utility that provides a rolling display of top cpu using processes"
pkgver="$pkgver"
files(-,root,bin)
default_docs
$_bindir/top
$_mandir/man1/top.1

27
top/meta/relnotes Normal file
View File

@ -0,0 +1,27 @@
PACKAGE DETAILS
---------------
Name: %%PKGNAME%%
Version: %%SOURCE_AND_VER%%
Vendor: %%VENDOR%%
Packager: %%PKGEDBY%%
Source (sha1sum):
%%SOURCE_SHA1SUM%%
BUILD DETAILS
-------------
Compiler:
%%COMPILER%%
Environment:
%%ENVIRONMENT%%
Configure:
%%CONFIGURE%%
KNOWN DEPENDENCIES
------------------
%%DEPENDENCIES%%
ERRORS/MISCELLANEOUS
--------------------